3

From my understanding, libjpeg is a library used to compress the image data. I should be able to write the marker metadata without calling jpeg_start_compress() function.

I have 2 questions:

  • Why doesn't libjpeg allow that?
  • If I have a source jpeg file (which is already compressed), how can I just modify the metadata details? Is there any flag which I can set to notify the library that we are dealing with compressed images and we just need to modify the metadata details?

Please help.

Raul Rene
  • 10,014
  • 9
  • 53
  • 75
ext.dev
  • 121
  • 6

0 Answers0