Additional information for some functions? (SDK)

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

Moderators: helmut, XnTriq, xnview

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

Additional information for some functions? (SDK)

Post by MaierMan »

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

Re: Additional information for some functions? (SDK)

Post by xnview »

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.
MaierMan
Posts: 78
Joined: Wed Aug 04, 2004 8:32 pm
Contact:

Re: Additional information for some functions? (SDK)

Post by MaierMan »

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

Re: Additional information for some functions? (SDK)

Post by xnview »

MaierMan wrote:But What excatly will gflAverage do?
It's a filter like blur, an average between all pixels!
Pierre.
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Additional information for some functions? (SDK)

Post by helmut »

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 »

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