Add noise

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

Moderators: helmut, XnTriq, xnview

Post Reply
Marie K.

Add noise

Post by Marie K. »

is it possible to use the

noise funktion like in Xnview...

Add uniform noise
Add gaussian noise

?

in the 'rezise' function

possible to use the
Lanczos parameter ?
or only 'bilinear'

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

Re: Add noise

Post by xnview »

Marie K. wrote:is it possible to use the

noise funktion like in Xnview...

Add uniform noise
Add gaussian noise

?
Currently these fonctions are not available, but if you want them, i can add them to gfle
in the 'rezise' function

possible to use the
Lanczos parameter ?
or only 'bilinear'
You have GFL_RESIZE_LANCZOS
Pierre.
Guest

Re: Add noise

Post by Guest »

xnview wrote:
Marie K. wrote:is it possible to use the

noise funktion like in Xnview...

Add uniform noise
Add gaussian noise

?
Currently these fonctions are not available, but if you want them, i can add them to gfle
in the 'rezise' function

possible to use the
Lanczos parameter ?
or only 'bilinear'
You have GFL_RESIZE_LANCZOS

only declared in the bas - File !!

Public Const GFL_RESIZE_QUICK = 0
Public Const GFL_RESIZE_BILINEAR = 1


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

Re: Add noise

Post by xnview »

Anonymous wrote:
only declared in the bas - File !!

Public Const GFL_RESIZE_QUICK = 0
Public Const GFL_RESIZE_BILINEAR = 1


GFL_RESIZE_LANCZOS ?? Number ??

Code: Select all

#define GFL_RESIZE_QUICK     0
#define GFL_RESIZE_BILINEAR  1
#define GFL_RESIZE_HERMITE   2
#define GFL_RESIZE_GAUSSIAN  3
#define GFL_RESIZE_BELL      4
#define GFL_RESIZE_BSPLINE   5
#define GFL_RESIZE_MITSHELL  6
#define GFL_RESIZE_LANCZOS   7
Pierre.
Post Reply