Please know that I do not know Delphi.
I have an application programmed in Delphi, that uses PNGImage. Not from the one included in the most up to date Delphi but the one found in the following website: "http://proger.i-forge.net/Useful_Delphi_packages/71R
I am starting to have issues. I am getting the following error: "The file being readed is not a valid "Portable Network Graphics" image because it contains an invalid header. This file may be corruped, try obtaining it again"
This application converts PNG files into PDF files. These PNG image files were fine until I had JPEG converted to PNG.
I tested the converted PNG files with TwealPNG and they are all fine, with apparently a proper header.
-If you know what is causing this issue, can you please provide the tweek so my programmer (that has no clue how to deal with this) can implement it in Delphi?
-Is there a way, command line with a tool (to run in a batch file which I am kind a good in) where I can match the PNG format/header of the converted JPEG files to the proper format/header of the PNG file so that it actually works?
Thanks for you feedbacks, help and suggestions.