Gflax undesirable compression.

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

Moderators: XnTriq, xnview

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

Gflax undesirable compression.

Post by dbologna » Tue Sep 29, 2009 11:48 am

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: 31607
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Gflax undesirable compression.

Post by xnview » Tue Sep 29, 2009 1:30 pm

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 » Tue Sep 29, 2009 3:09 pm

Yes.
Do you need the sample file?

User avatar
xnview
Author of XnView
Posts: 31607
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Gflax undesirable compression.

Post by xnview » Wed Sep 30, 2009 12:45 pm

Yes, please input & output
Pierre.

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

Re: Gflax undesirable compression.

Post by dbologna » Wed Sep 30, 2009 3:43 pm

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 » Thu Oct 01, 2009 10:29 am

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

Post Reply