[Gimp-developer] Plug-in-convmatrix and INT32ARRAY

2007-05-21 Thread Dommett, David W CTR USAF AFRL/HEC
Is it possible to call plug-in-convmatrix from a Scheme script?  The
10th parameter needs to be an INT32ARRAY however I don't know how to
create one of these in Scheme.  If I try something like a float array I
just get an error message stating that it is the wrong type.
cons-array only accepts string, byte, double and lisp as types.

___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Plug-in-convmatrix and INT32ARRAY

2007-05-21 Thread saulgoode
Quoting Dommett, David W CTR USAF AFRL/HEC [EMAIL PROTECTED]:

 Is it possible to call plug-in-convmatrix from a Scheme script?  The
 10th parameter needs to be an INT32ARRAY however I don't know how to
 create one of these in Scheme.  If I try something like a float array I
 just get an error message stating that it is the wrong type.
 cons-array only accepts string, byte, double and lisp as types.

I don't have access to the GIMP right now, but looking at some of my  
notes it appears that you would create an INT32ARRAY with

(define a (cons-array num-elements 'long))


___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer