Page 1 of 1
[Implemented] JPG Encode Quality
Posted: Tue Mar 18, 2003 5:53 pm
by BackupUser
Restored from previous forum. Originally posted by geoff.
JPG image load and save are welcome additions in PureBasic 3.60, however, SaveImage() would be more useful if it were possible to set the JPG quality.
The current SaveImage() gives about 20:1 compression with corresponding low quality. For digital photographs you might use 3:1 for archiving and 8:1 for Web publishing. You need to set this depending on the application.
Posted: Tue Mar 18, 2003 6:13 pm
by BackupUser
Restored from previous forum. Originally posted by Pupil.
so basicly you're asking for a SetJPGQuality() command or the adding of an argument to the SaveImage() command? either way would be nice..
Posted: Wed Mar 19, 2003 9:51 pm
by BackupUser
Restored from previous forum. Originally posted by geoff.
Well, more than nice, fixed 20:1 compression is no use at all for me.
Is this really missing?
Someone tell me if I've missed something here.
Posted: Wed Mar 19, 2003 10:22 pm
by BackupUser
Restored from previous forum. Originally posted by fred.
I will ad a flag to SaveImage(), no problem.
Fred - AlphaSND
Re: [Implemented] JPG Encode Quality
Posted: Sun Jul 12, 2015 8:29 am
by Michael Vogel
I would like to get a better control for the compression level when saving jpeg files, the given 10% steps (1%, 10%, 20%,... 90%, 100%) results are not so perfect for photos. A typically used compression value is 97% or so. Of course, enhanced features (like color sampling, Huffman optimizing etc.) would be fine, but that's another story...
Re: [Implemented] JPG Encode Quality
Posted: Sun Jul 12, 2015 11:18 am
by c4s
Michael Vogel wrote:I would like to get a better control for the compression level when saving jpeg files, the given 10% steps (1%, 10%, 20%,... 90%, 100%) results are not so perfect for photos. A typically used compression value is 97% or so. Of course, enhanced features (like color sampling, Huffman optimizing etc.) would be fine, but that's another story...
+1
Re: [Implemented] JPG Encode Quality
Posted: Sun Jul 12, 2015 8:32 pm
by davido
+1
Re: [Implemented] JPG Encode Quality
Posted: Sun Jul 12, 2015 10:44 pm
by Dude
Who marked this as "[Implemented]"? Hopefully Fred?
Re: [Implemented] JPG Encode Quality
Posted: Mon Jul 13, 2015 4:45 am
by Danilo
Dude wrote:Who marked this as "[Implemented]"? Hopefully Fred?
Yes... 12 years ago.

Re: [Implemented] JPG Encode Quality
Posted: Mon Jul 13, 2015 4:10 pm
by Fred
We don't read [Implemented] topic anymore, so it's not exactly the same request, it's much better to open a new topic or it will probably be missed.
Re: [Implemented] JPG Encode Quality
Posted: Tue Jul 14, 2015 11:20 am
by Dude
Danilo wrote:Yes... 12 years ago.

What? It didn't say that the other day when I read this topic.
