Gflax undesirable compression.

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: XnTriq, helmut, xnview

dbologna
Posts: 4
Joined: Tue Sep 29, 2009 11:23 am

Gflax undesirable compression.

Post by dbologna »

Hi all,

I'm new in the forum, but i'm glfax user since some years, in FoxPro.
Directo to point.
If you open an image and save it without nothing make; you lost quality in the lumens.
This is the sample:
in.jpg is an image with q=92 and sampling factor 1x1,1x1,1x1 (4:4:4) and the output file has sampling factor 2x2,1x1,1x1 (4:2:0)

ogf=CreateObject("gflax.gflax")
ogf.LoadBitmap("C:\picts\13\in.jpg")
ogf.SaveJPEGQuality=92
ogf.SaveBitmap("C:\picts\13\out.jpg")

Has this any explanation? That I should do to avoid that loss?

Thanks in advance
Last edited by dbologna on Wed Sep 30, 2009 3:49 pm, edited 1 time in total.
User avatar
xnview
Author of XnView
Posts: 44895
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Gflax undesirable compression.

Post by xnview »

You means that sampling factore has changed?
Pierre.
dbologna
Posts: 4
Joined: Tue Sep 29, 2009 11:23 am

Re: Gflax undesirable compression.

Post by dbologna »

Yes.
Do you need the sample file?
User avatar
xnview
Author of XnView
Posts: 44895
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Gflax undesirable compression.

Post by xnview »

Yes, please input & output
Pierre.
dbologna
Posts: 4
Joined: Tue Sep 29, 2009 11:23 am

Re: Gflax undesirable compression.

Post by dbologna »

The forum response is:

"The attachment’s file size is too large, the maximum upload size is 2 MB.
Please note this is set in php.ini and cannot be overridden."

I'send you the file to email account <-- removed* --> with subject "Gflax undesirable compression - discussion post."

Thanks.

Daniel
dbologna
Posts: 4
Joined: Tue Sep 29, 2009 11:23 am

Re: Gflax undesirable compression.

Post by dbologna »

Sorry .. i don't see the rules :(