MegaTools

Fit PNG in Rectangle

PNGIn-browserChainable

Scale the whole image to fit inside a rectangle.

Runs in your browser — input never leaves your device

Report

Input

Drop a PNG file here

Output

Output will appear here.

Tool options

Examples

🔒 Processed locally in your browser

Chain with…

These tools accept image output. Run this tool to enable one-click hand-off.

PNG

About Fit PNG in Rectangle

Fit PNG in Rectangle is a PNG tool that takes image input (PNG) and returns image output (PNG). It runs entirely in your browser, so your input never leaves your device.

Input
image input (PNG)
Output
image output (PNG)
Where it runs
In your browser
Chainable
Yes
Options
4 configurable
Examples
1 in the catalog

Benefits

  • Processed locally in your browser
  • Accepts file input
  • Accepts image input
  • Live preview of the result
  • Download the result as a file
  • Chain the output directly into another tool

Step by step

How to use Fit PNG in Rectangle

5 steps, all from the panel above — nothing leaves your browser.

  1. Add your file

    Choose or drop your PNG file in the input panel above.

  2. Set the options

    Adjust the 4 tool options — Background colour, Rectangle height (px), Output format, Rectangle width (px).

  3. Run the tool

    Run it — the work happens in your browser, so nothing is uploaded.

  4. Collect the result

    The result appears in the output panel as PNG. From there you can download it as a file. The preview is rendered before you save anything.

  5. Chain it onward

    The chain panel lists tools that accept this output; sending the result opens the next tool with its input already filled in.

Formats

Supported formats

What Fit PNG in Rectangle accepts and what it hands back.

Accepts

PNG

Read from a PNG file on your device.

Produces

PNG

Returned as PNG. From the output panel you can download it as a file.

Configuration

  • Background colour

    text · default

  • Rectangle height (px)

    integer · default 512

  • Output format

    select · default png

  • Rectangle width (px)

    integer · default 512

Examples

Examples and use cases

1 catalog example for Fit PNG in Rectangle. Runnable examples can be loaded from the examples panel above.

Example

Reference

Load a sample configuration.

FAQ

Frequently asked questions

Answers for Fit PNG in Rectangle, taken from the tool's own catalog definition.

Does Fit PNG in Rectangle run in my browser or on a server?

It runs entirely in your browser — the work happens on your device.

What input does Fit PNG in Rectangle accept?

image input (PNG).

What do I get back, and what can I do with it?

The result is PNG output. From the output panel you can download it as a file. A preview is rendered first.

Can I chain Fit PNG in Rectangle into another tool?

Yes. After a run, the chain panel lists tools that accept image output (12 compatible tools in the catalog right now) and hands the result across with one click.

Does Fit PNG in Rectangle need any configuration?

Yes — the tool options panel above exposes 4 settings: Background colour, Rectangle height (px), Output format, Rectangle width (px).

Do I need an account?

No. Accounts only add conveniences: favourites, recent-tool history and saved workflows.

What is included with Fit PNG in Rectangle?

Processed locally in your browser; Accepts file input; Accepts image input; Live preview of the result; Download the result as a file; Chain the output directly into another tool.

Get started

Start using Fit PNG in Rectangle

The tool is ready above — add your image (PNG) and run it. It all happens in your browser, so nothing is uploaded.

Continues into

Browse all toolsAll PNG tools