I used the program PNGSplit to extract chunks from a MNG file and
write the chunks to individual files. Now I am wondering if there is a
simple way to combine the chunks to produce the individual PNG images
that make up the MNG file.
After extracting the MNG file, I have a bunch of chunk files
(simplified example):
MHDR
IHDR-1
IDAT-1
IEND-1
IHDR-2
IDAT-2
IEND-2
....
MEND
If I combine IHDR-1, IDAT-1, and IEND-1 into a single file, should
that be a PNG image? Or is more processing required? I have tried it,
but so far it has not worked on MNG files. I was able to use PNGSplit
on a PNG file, and then once I reassembled the chunk files, it was the
original PNG file.