---
title: "The first PNG sets the canvas size"
url: https://memory.wiki/Eln_NAAe
updated: 2026-11-13T04:40:27.299Z
source: "cli"
---
# The first PNG sets the canvas size

When you turn a stack of images into an animation with [PNG to GIF](https://animateimage.org/png-to-gif) on AnimateImage, the order matters for more than timing.

- The first PNG sets the canvas size for the whole GIF.
- The other files are scaled to fit that canvas without stretching.
- You can add up to 60 PNG files and drag them into order.

So put the frame with the size you want at the top of the list. If your images come in mixed sizes, decide which one should define the frame before you start, then drag it to the first slot. Everything runs in the browser, and the tool is free with no sign-up. Home: [AnimateImage](https://animateimage.org/).

AnimateImage is an independent image animation site; the video models it offers are made by third parties not affiliated with it.


---

## Summary
The first PNG uploaded to AnimateImage determines the canvas size for the entire GIF. All subsequent images are scaled to fit this initial frame without stretching.

## Themes
- GIF creation process
- image scaling behavior
- browser based tools

## Key takeaways
- The first PNG uploaded determines the canvas size for the entire GIF.
- Secondary images are scaled to fit the initial canvas without stretching.
- Users can upload a maximum of 60 PNG files.
- The AnimateImage tool is free and does not require user registration.
- AnimateImage is an independent site and does not own the third party video models it provides.

## Insights
- The first image in a sequence dictates the spatial dimensions for all subsequent frames in the animation.
- The tool prioritizes canvas consistency over maintaining original aspect ratios for secondary images.
- Processing is performed locally within the browser rather than on a remote server.

## Open questions / gaps
- What specific scaling algorithm is used to fit images to the canvas?
- How are images with different aspect ratios handled if they cannot be scaled without distortion?

