PDA

Click to See Complete Forum and Search --> : possible to change image quality if my image isnt JPEG?


MrPolite
Dec 14th, 2002, 01:47 AM
I know that I can change the image quality if I have a jpeg file. Is there a way to change the image quality if it's not a jpeg?

right now I'm just using the Image.Save method and I'm passing the EncoderParameters to change my image quality....sounds like I cant specify the ImageFormat when I;m changing the image quality. So I'm guessing this only works for jpegs

MrPolite
Dec 15th, 2002, 01:41 AM
BOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOMMMM
I mean, bump

MrPolite
Jun 18th, 2003, 10:09 PM
anyone? going once, going twice... :rolleyes:

Lunatic3
Jun 18th, 2003, 11:52 PM
I am still waiting for release of 'Mr.Polite Photoshop' :p Good Luck!

Lunatic3
Jun 18th, 2003, 11:59 PM
The notes in this page may give u a clue.
http://www.bobpowell.net/jpeg_compression.htm

PT Exorcist
Jun 19th, 2003, 06:57 AM
the title of the page says Setting the compression level when saving JPEG images

Cander
Jun 19th, 2003, 08:30 AM
Not that I am aware of. But why not save it out to jpeg with the appropriate quality, then open it back and convert to what image type you need? I know it may not be efficient, but if nothing else..

Lunatic3
Jun 19th, 2003, 11:15 AM
the title of the page says Setting the compression level when saving JPEG imagesYes, but if you read the notes it says:
Images are serialized by an encoder specially adapted for the image format. Certain encoders, such as the JPEG encoder, can be instructed to alter the method serialization by the use of encoder parameters which specify the characteristics of the data written to the file or stream.

So he should check if the image format he is trying to change quality can be instructed ..... or not.

MrPolite
Jun 19th, 2003, 03:39 PM
I dont think there is a way to do it directly by saving it to some other format, unless I do something like what cander said... oh well

and Lunatic3, that proggie is much nicer now... but still has a LOT to be completed... I was working on it for fun. I dont know if I'm gonno work on it again, at least not for a while :p. I needed to know about this for another program. It creates a html album from a set of images:)