By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,238 Members | 1,485 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,238 IT Pros & Developers. It's quick & easy.

resave a jpg with same compression

P: n/a
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
Nov 16 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
=?Utf-8?B?RGFuaWVs?= <Da****@discussions.microsoft.comwrote in
news:6A**********************************@microsof t.com:
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.

Nov 16 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.