Additional information for some functions? (SDK)

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

Moderators: XnTriq, xnview

Post Reply
User avatar
MaierMan
Posts: 78
Joined: Wed Aug 04, 2004 8:32 pm
Contact:

Additional information for some functions? (SDK)

Post by MaierMan » Mon Aug 23, 2004 12:52 am

First of all Thx a lot (again) for this fantastic piece of work :D

Alright, I have some questions about some functions of the SDK...

The tolerance parameter of gflAutoCrop will be used how?
Is it some kind of percentage.
How will it work.

And what does gflAverage exactly do?
Parameters (filter_size) work how?

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

Re: Additional information for some functions? (SDK)

Post by xnview » Thu Sep 09, 2004 7:26 am

MaierMan wrote:The tolerance parameter of gflAutoCrop will be used how?
Is it some kind of percentage.
It's the maximum difference between pixels!
And what does gflAverage exactly do?
Parameters (filter_size) work how?
It's a the filter size, so 3, 5, 7, 9, 11, 13
Pierre.

User avatar
MaierMan
Posts: 78
Joined: Wed Aug 04, 2004 8:32 pm
Contact:

Re: Additional information for some functions? (SDK)

Post by MaierMan » Tue Sep 21, 2004 10:40 am

xnview wrote:
MaierMan wrote:The tolerance parameter of gflAutoCrop will be used how?
Is it some kind of percentage.
It's the maximum difference between pixels!
And what does gflAverage exactly do?
Parameters (filter_size) work how?
It's a the filter size, so 3, 5, 7, 9, 11, 13
Pierre.
First of all thx for answering.
But What excatly will gflAverage do?

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

Re: Additional information for some functions? (SDK)

Post by xnview » Tue Sep 21, 2004 2:09 pm

MaierMan wrote:But What excatly will gflAverage do?
It's a filter like blur, an average between all pixels!
Pierre.

User avatar
helmut
Posts: 8217
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Additional information for some functions? (SDK)

Post by helmut » Tue Sep 21, 2004 2:52 pm

MaierMan wrote:...But What excatly will gflAverage do?
MaierMan, before asking you could try and check out the effects & filters in XnView. FAIK, often the GFL functions are named like the effects and filters.

mbetrafa
Posts: 2
Joined: Wed Nov 15, 2006 9:56 am

What about the color tolerance of auto-crop?

Post by mbetrafa » Wed Nov 15, 2006 10:11 am

How can I determine the background with a certain color tolerance before auto-crop?Also when I write 200 it crops,but when I make the tolerance 500, it does not make anything. When tolerance is more,should it crop if it crops for a lower value?

Post Reply