Menu

Error on binary created on Fedora 18 x86_64

Main Forum
2013-11-10
2013-11-10
  • philip_rhoades

    philip_rhoades - 2013-11-10

    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.

     
  • Max Stepin

    Max Stepin - 2013-11-10

    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.

     
  • philip_rhoades

    philip_rhoades - 2013-11-10

    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.

     
  • Max Stepin

    Max Stepin - 2013-11-10

    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.

     

Log in to post a comment.