I got an error with the supplied binary so I built it again from source (I had to add libpng zlib to SRC_DIRS in the Makefile) but trying:
apngasm output.png 20121220_CommercialInvoice.png
gives:
Error: *.png sequence not found
I rebuilt the binary with debugging and the error looks sensible but I haven't tried hacking the code around - I thought it would be better just to report it at the moment.
Suggestions?
After being able to create the multi-frame PNGs what I would really like is an APNG viewer that allows me to step through the file frame by frame.
Thanks,
Phil.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK, thanks - does it have to be that way? This is not an animation situation just a more efficient replacement for PDF files. It seems that program arguments will be sorted into correct order anyway so apngasm should be able to accept any PNG names . . in this case accumulating a lot of invoices (in date order) into one viewable file.
Regards,
Phil.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
People,
I got an error with the supplied binary so I built it again from source (I had to add libpng zlib to SRC_DIRS in the Makefile) but trying:
apngasm output.png 20121220_CommercialInvoice.png
gives:
Error: *.png sequence not found
I rebuilt the binary with debugging and the error looks sensible but I haven't tried hacking the code around - I thought it would be better just to report it at the moment.
Suggestions?
After being able to create the multi-frame PNGs what I would really like is an APNG viewer that allows me to step through the file frame by frame.
Thanks,
Phil.
Instead of Invoice.png filename, apngasm expects to see something like Invoice*.png or Invoice01.png to detect a numbered sequence of files.
I have heard that XnViewMP and Ksquirrel viewers under Linux support APNG, but I have not tried them myself.
Max,
OK, thanks - does it have to be that way? This is not an animation situation just a more efficient replacement for PDF files. It seems that program arguments will be sorted into correct order anyway so apngasm should be able to accept any PNG names . . in this case accumulating a lot of invoices (in date order) into one viewable file.
Regards,
Phil.
Yeah, it's kinda hardcoded that way, it expects a numbered sequence.
Try to modify the source code as you like.
Look at how output filename is read:
szOut = argv[1];
so you can read input filenames the same way, starting from argv[2] etc.