in reply to Appending an image to a png file

I suppose you're not trying to create an animation? Because PNG can't be used for that. But you already knew that, of course.