[Gimp-developer] SF-TOGGLE type?
Rob Antonishen
rob.antonishen at gmail.com
Wed Dec 17 07:01:50 PST 2008
Should SF-TOGGLE be evaluated as a boolean or int in a scheme script?
I have been using (if (= inToggle TRUE) (do-true) (do-false)) where
inToggle is a toggle (check box) parameter,
Because (if inToggle (do-true) (do-false)) always returns as true.
-Rob A.
On 12/17/08, Pablo Yaggi <pyaggi at alsurdelsur.com> wrote:
> Working with gimp 2.6 this segment of codes
>
> (if (= (car (gimp-drawable-is-rgb image)) FALSE)
> (gimp-image-convert-rgb image)
> )
>
> gives me this error
>
>
> Error while executing script-fu-mirror-table:
>
> Error: Procedure execution of gimp-image-convert-rgb failed on
> invalid input arguments: Image 'file:///home/pablo/glam.jpg' (1) is already
> of
> type 'rgb'
>
> Bests,
> Pablo
>
>
> (Martin told me my font was too small, is it right now ? )
>
More information about the Gimp-developer
mailing list