Flipbook texture generator
Combine an image sequence into one flipbook sheet, or cut a sheet back into separate frames. Preview the animation, reorder or remove frames, choose how frames fit each cell, and download a PNG or TGA.
Files
Image frames (PNG, JPG, WebP, BMP or TGA)
Frames
No frames loaded
Settings
Output sheet
No sheet
Flipbook animation
No frames loaded
Export
Files
Flipbook sheet (PNG, JPG, WebP, BMP or TGA)
Settings
Flipbook animation
No sheet loaded
Frames
No sheet loaded
Export
How the flipbook texture generator works
A flipbook, also called a sprite sheet or SubUV texture, packs every frame of an animation into one image so a shader can step through the cells over time. Drag a thumbnail to change the order, remove frames you don’t need, or reverse the whole sequence, and the preview plays the result at the frame rate you choose. Change the columns and the rows adjust to fit every frame, and the other way round. For sprites of different sizes, use the texture atlas packer instead.
- Load frames with Choose images or drop the files onto the tool; in Flipbook to images, choose or drop one sheet.
- Frames are listed in order. Drag a frame to move it (on touch, press and hold briefly first), or focus it and use Alt+Left or Alt+Right. Use the arrow keys (Home and End for the ends) to move between thumbnails, and Tab to leave the grid. Use × or Delete to remove one. Hover over, focus or tap a frame to see its name and size under the grid.
- Undo with Ctrl+Z and redo with Ctrl+Y or Ctrl+Shift+Z, or use the Undo and Redo buttons. While you type in a field, these keys act on the field instead. Each mode has its own history.
Each frame is drawn into a cell of the size you set. Stretch fills the cell, Fit keeps the frame’s aspect ratio with transparent bars, and Fill keeps the aspect ratio and crops to the cell. Padding insets every frame inside its cell so neighbouring frames don’t bleed together in lower mips, without changing the sheet size. Transparency is kept, which suits smoke, fire and impact effects. Pixel values are copied exactly when a frame is placed at its own size, including the colour under fully transparent pixels. A resized frame is resampled, averaging the source pixels when it shrinks and interpolating when it grows, with colour weighted by alpha so semi-transparent edges keep their colour. TGA files are decoded in the page, since browsers can’t open them, and both uncompressed and RLE TGA files work.
Download the sheet as a PNG or as an uncompressed 32-bit TGA with alpha. A sheet that needs a lot of resampling is built in steps, with its progress under the preview. If your browser can’t create an image as large as the sheet, the page tells you instead of making a blank file.
Flipbook to images goes the other way. Each frame is cut from the sheet pixel for pixel. Lower the total frame count if the last row has empty cells. If the sheet doesn’t divide evenly by the grid, the leftover edge pixels are dropped, and the preview lets you check the frames before you download.
Example: a smoke flipbook for a game engine
Say a simulation tool has rendered 64 smoke frames as PNGs with transparency, named smoke_01 to smoke_64. Load all 64 with Choose images. They are sorted by name, so check the first and last thumbnails and drag any frame that is out of place.
- With 64 frames, Columns and Rows are set to 8 automatically, giving an 8 × 8 grid.
- Cell width (px) and Cell height (px) start at the first frame’s size. Lower them to 256 for a 2048 × 2048 sheet.
- Keep Fit mode on Stretch for square frames, or choose Fit (keep aspect, bars) so wider frames aren’t squashed.
- Watch the Flipbook animation preview, and change Frames per second, to spot a jump or a missing frame.
- Use Download PNG, or Download TGA if your pipeline prefers it.
In Unreal Engine’s Niagara, set Sub Image Size in the sprite renderer’s Sub UV settings to X 8 and Y 8. In Unity’s Particle System, turn on the Texture Sheet Animation module in Grid mode and set Tiles to X 8 and Y 8.
Questions
In what order are frames packed?
Frames are sorted by file name, with numbers in the names counted as numbers, and packed left to right, then top to bottom. That is the order Unreal Engine’s SubUV documentation describes.
What size should a flipbook be?
The sheet is the cell size times the columns and rows. Keep each side a multiple of four so it can be block-compressed, and use powers of two (Round sheet up to a power of two) for older hardware and mip generation. The tool notes when a side goes over 16384 px, which many GPUs and engines can’t use.
Can I split a sprite sheet back into frames?
Yes. In Flipbook to images, load the sheet, enter its columns and rows, and download every frame as a numbered PNG in one ZIP.