How to change the jpeg compression quality :?:

Just starting out? Need help? Post your questions and find answers here.
MeMyselfAndI
User
User
Posts: 10
Joined: Fri Apr 25, 2003 8:23 pm

How to change the jpeg compression quality :?:

Post by MeMyselfAndI »

I'm using the JPEG plugin stuff of purebasic but it seems that the quality of displayed and saved JPEG images is not as good as Irfanview or when I'm using the INTEL JPEG LIBRARY with another programming language.

Is there a way to increase the jpeg compression quality :?:

If not, PureBasic is not usable for Quality Imaging Software - only for games :cry:

Sorry, but I need an answer or solution really fast.
Thanks in advance.
.
. Greetings
.
. from all three of us...
.
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Re: How to change the jpeg compression quality :?:

Post by GPI »

At the moment it is impossible to change the quality.
User avatar
geoff
Enthusiast
Enthusiast
Posts: 128
Joined: Sun Apr 27, 2003 12:01 am
Location: Cornwall UK
Contact:

Post by geoff »

MeMyselfAndI:

Fred has said that he will add a quality setting to the next version of PureBasic. This will allow the saving of images at different qualities to different size files.

I agree with your observation that the quality of loaded JPG images is poor even when they were saved at a high quality setting.

Normally, the quality of bitmap loaded from a JPG file only depends on the quality with which the file was saved. This is certainly true for most graphics packages and the INTEL DLL which I use.

There must be something odd about the Purebasic JPG loader. Perhaps it is cutting corners for speed, or maybe it has bugs.
I agree with your conclusion, as it stands, it is only suitable for games.
MeMyselfAndI
User
User
Posts: 10
Joined: Fri Apr 25, 2003 8:23 pm

Post by MeMyselfAndI »

Thanks to both of you.
Is there anywhere a ready to go header file for PureBasic and the INTEL JPG LIBRARY :?:
But maybe I can't load/save the Image with this library and use PureBasic commands to manipulate the Image before saving... :?
.
. Greetings
.
. from all three of us...
.
Post Reply