Page 1 of 1

How to change the jpeg compression quality :?:

Posted: Tue Apr 29, 2003 8:26 pm
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.

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

Posted: Tue Apr 29, 2003 9:16 pm
by GPI
At the moment it is impossible to change the quality.

Posted: Tue Apr 29, 2003 11:05 pm
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.

Posted: Wed Apr 30, 2003 3:06 am
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... :?