Celeb Glow
news | April 01, 2026

PNG strip image to animated photo file?

I'm interested in turning an image strip into a high quality GIF or APNG file.

The image I particularly want to convert is a gradient image with dimensions 1530x1 made up of raw hexadecimal color codes.

How can I achieve this?

1 Answer

I'm guessing you want a 1px by 1px animation with each color in sequence?

It's pretty simple. First use imagemagick to slice the image in individual frames. In this case - 1by1 images.

convert line.png -crop 1x1 +repage pixel_%04d.gif

Then with the same tool create animation from all the generated images:

convert -loop 0 -delay 2 ./pix* anim.gif

Adjust delay parameter to change animation speed (in 1/100 of second).

Here's your pixel:

Resized:

resized animation

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy