gfl + jpeg2000 + changing quality
Moderators: XnTriq, helmut, xnview
-
- Posts: 15
- Joined: Sun Mar 11, 2007 9:23 am
gfl + jpeg2000 + changing quality
hi people, i'm using the jpeg 2000 plugin with the gfl library and i don't know how to change the quality when compressing to this format. i'm using gflSaveBitmapIntoMemory() and filling GFL_SAVE_PARAMS structure. been trying to modify the Quality member but it seems that it works for regular jpegs only. can anyone help me?
-
- Author of XnView
- Posts: 44470
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: gfl + jpeg2000 + changing quality
Quality doesn't change anything????stolarz wrote:hi people, i'm using the jpeg 2000 plugin with the gfl library and i don't know how to change the quality when compressing to this format. i'm using gflSaveBitmapIntoMemory() and filling GFL_SAVE_PARAMS structure. been trying to modify the Quality member but it seems that it works for regular jpegs only. can anyone help me?
Pierre.
-
- Posts: 15
- Joined: Sun Mar 11, 2007 9:23 am
:(
you are right... i tested it once again, the results differ. it is 1288438 bytes for quality 95 and 99025 bytes for quality 5. i haven't noticed that fact before cause i was using gflSaveBitmapIntoMemory. But what worries me most is why i thought Quality parameter doesn't change anything - i was compressing the picture with quality 95 and 5 and they both lasted 10 seconds...
-
- Author of XnView
- Posts: 44470
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: lossless
All format like tiff, png, bmp are losslessstolarz wrote:btw, is there any lossless compression in gfl? like lossless jpeg? i see there is GFL_LZW for tiff. any other?
Pierre.