Foto5 · Photoshop automation

Foto5 Photoshop script: export in three formats

A script that turns a photography batch into outputs with dimensions and folders defined for each use.

Implemented · delivery review pending4 workflow stagesCustom development
01 / Context

The challenge

The same production needed several aspect ratios without repeating the entire preparation for every image.

A product photograph may appear in a storefront, on a detailed product page and in promotional material. Each use can require a particular aspect ratio. The challenge is to produce these variations while keeping the image recognizable, the batch organized and the delivery rules clear.

The automation was developed for Foto5, Weliton Souza's own photography operation. The case shows how practical production experience can inform custom software: the required formats are defined first, then the script turns those rules into a repeatable sequence inside Photoshop.

02 / Step by step

How the workflow works

  1. 01

    Organize the batch

    The script collects open documents and uses natural sorting to maintain a coherent file sequence. Output identification uses a date and sequence number, helping relate the variations belonging to one delivery.

  2. 02

    Define the outputs

    A configuration list contains the width, height, folder and suffix for each format. The three implemented outputs are 1200 × 1540, 1340 × 1785 and 1200 × 1200 pixels, using JPEG as the delivery format.

  3. 03

    Fit the photograph

    For each dimension, a duplicate is proportionally resized and centered on a white canvas. This strategy retains the entire image and adds margins when the original aspect ratio differs from the destination ratio.

  4. 04

    Separate the delivery

    Each variant receives a dimension-specific folder. Authorship and context information accompany the files. Final review should assess framing, quality, filenames and consistency across the three versions.

03 / Implementation

The work

A JSX routine organizes documents, creates duplicates and exports JPEGs at 1200 × 1540, 1340 × 1785 and 1200 × 1200 pixels.

  • Three formats per image
  • Proportional fitting on a white canvas
  • Delivery folders organized by dimensions

Configuration is part of the project

An output table helps adapt the workflow to a catalog or approval process. Each format has an explicit rule, instead of relying on a different sequence of manual actions for every photograph.

A quote can include additional formats, naming conventions, background standards and delivery information. Cropping requirements or full-image preservation should be agreed before implementing the routine.

What makes this case distinct

The goal here is to generate several aspect ratios from one production. The WebP/JPEG project serves another need: preparing publishing files against a size target and reporting the result. Each routine addresses a different stage.

Foto5 is Weliton Souza's own project. Its public website provides context for the photography operation behind this development; the work is not presented as a testimonial from an external client.

Inside the logic

Example of configurable outputs

Adapted example of the workflow structure. It does not perform the full export and does not represent a quality test.

jsxADAPTED EXAMPLE
var outputs = [
    { width: 1200, height: 1540, folder: "1200x1540" },
    { width: 1340, height: 1785, folder: "1340x1785" },
    { width: 1200, height: 1200, folder: "1200x1200" }
];
for (var i = 0; i < outputs.length; i++) {
    var target = outputs[i];
    // Duplicate and proportionally fit the image.
    // Check the destination before saving the JPEG.
}
04 / Delivery

Delivery and context

A multi-format script was implemented for Foto5's workflow. Visual review and the output naming policy remain part of validation.

Deployment considerations

  • The multi-format naming check needs review before claiming it prevents overwrites.
  • Smaller inputs may be upscaled by this fitting rule; the policy should be defined for each delivery.

Frequently asked questions

Does the script crop the photo to fill the format?

The examined implementation uses proportional fitting and additional white canvas. A centered crop or another framing policy can be quoted as a different rule.

Can I request my own folder and filename standard?

Yes. Output organization is part of the customization. Define dimensions, image types, filenames, existing-file behavior and sample review requirements before implementation.

A similar workflow in your business?

Tell me which platform you use, how your workflow operates today and what needs to change. Together, we can define the scope, integrations and acceptance checks for your project.

Request a quote

Scope and pricing tailored to your project.

Related services

Custom software development

Business software, internal tools and integrations built around your workflow.

Custom Photoshop scripts and automation

Automate repetitive steps in image production and file preparation.