[Implemented] JPG Encode Quality
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
[Implemented] JPG Encode Quality
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.
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.
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
- Michael Vogel
- Addict
- Posts: 2797
- Joined: Thu Feb 09, 2006 11:27 pm
- Contact:
Re: [Implemented] JPG Encode Quality
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
+1Michael 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...
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
Re: [Implemented] JPG Encode Quality
Who marked this as "[Implemented]"? Hopefully Fred?
Re: [Implemented] JPG Encode Quality
Yes... 12 years ago.Dude wrote:Who marked this as "[Implemented]"? Hopefully Fred?

Re: [Implemented] JPG Encode Quality
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
What? It didn't say that the other day when I read this topic.Danilo wrote:Yes... 12 years ago.
