resave a jpg with same compression

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi i have made a program that modifies jpgs. the problem is when i resave
the new jpg, the compression ratio has changed. i need a way to read the
compression ratio and save it back with the same ratio. do you think this
will keep recompressing the data ?

Thanks,
Daniel
 
hi i have made a program that modifies jpgs. the problem is when i
resave the new jpg, the compression ratio has changed. i need a way
to read the compression ratio and save it back with the same ratio.
do you think this will keep recompressing the data ?

Yes, each time you save a JPEG, it will be recompressed. Also note that the
ratio is abitrarily defined by the JPEG algorithm (i.e. Max Quality in one
implementation is not the same as Max Quality in another).


However, certain operations can be lossless - like cropping or rotation.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top