c - How to discover an image that was converted from one format to anothter? -


is possible trace image png image jpg? example image x.jpg converted x.png. there way of telling x.png x.jpg, difference being formats?

if l convert img.jpg img.png posssible me img.jpg? intend check in c.

as first question, meta-information stored in png can tell original format or file was. there no requirement store meta-information in file.

as second question: png lossless format. if decompress jpeg image bitmap , encode bitmap png, can @ least th png bitmap of jpeg.

getting jpeg means re-encoding (compressing) bitmap, arrive @ bitwise identical jpeg file means using same compressor settings used create original jpeg. don't know settings (and may depend on compressor code too), "no, can't original jpeg."


Comments

Popular posts from this blog

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

javascript - Using jquery append to add option values into a select element not working -

javascript - Restarting Supervisor and effect on FlaskSocketIO -