GIF to PNG frames
Every frame of a GIF as a PNG, or all of them on one sprite sheet.
Free, no sign-up, no credit card. Your files stay on your device.
Uses libheif under the GNU LGPL (licence).
The game smooths the sheet as it scales it. Add 2 pixels of padding, or turn smoothing off in the engine for pixel art.
The pictures are different sizes, and each sits at the top left of its cell. Make them all the same size first, or use a packed sheet with its JSON. Use Resize image.
Pictures go on the sheet in the order listed. Use Move up and Move down before making the sheet, or name the files in order, such as walk-1 to walk-8, and choose them together.
Load the PNG and the JSON together as an atlas: this.load.atlas('player', 'sprite-sheet.png', 'sprite-sheet.json'). Each frame is named after its picture's file name, such as walk-1.png.
Load the JSON with Assets.load('sprite-sheet.json'); PixiJS finds the PNG named inside it. The JSON also lists every frame in order under the animation sprite-sheet, for an AnimatedSprite.
A grid gives every picture the same cell, so a game can step through frames by their size, with no data file needed. Packed fits pictures of different sizes into the smallest sheet, and the JSON says where each one is.
In a packed sheet, see-through edges around each picture are left out, so the sheet is smaller. The JSON records how much was cut, so Phaser and PixiJS draw each frame in its original place.
Use GIF to PNG and choose One sprite sheet. It lays out the GIF's frames in a grid.
No. Your files are processed on your device. We never upload them.