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

saulgoode at flashingtwelve.brickfilms.com saulgoode at flashingtwelve.brickfilms.com
Mon May 21 08:01:52 PDT 2007


Quoting "Dommett, David W CTR USAF AFRL/HEC" <David.Dommett at WPAFB.AF.MIL>:

> 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))




More information about the Gimp-developer mailing list