* Sven Neumann ([EMAIL PROTECTED]) [010112 07:28]:
> Rick Bradley <[EMAIL PROTECTED]> writes:
> >  - On those script-fu's which internally use gauss_rle I get the
> > following error in the server output log:
> > 
> > 979272234: server version 1.201 started, authorization required
> > 979272234: accepting connections on port 10009
> > 979272240: accepted tcp connection from 127.0.0.1:2683
> > gimp: gauss_rle: cannot operate on indexed color images
> > 
> > ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ 

> From a quick glimpse at the code in gauss_rle it seems to do the right 
> thing, which is basically:
> 
> if (gimp_drawable_is_rgb (drawable->id) ||
>     gimp_drawable_is_gray (drawable->id))
>   { 
>      /*  blur  */
>   }
> else
>   {
>     gimp_message ( "gauss_rle: cannot operate on indexed color images"); 
>     /*  exit wit error  */    
>   }
>
> The problem seems to be elsewhere.

My guess is that for some reason the Perl <-> script-fu interface is
getting the image type munged (or not properly set) in some cases,
especially since the script-fu's in question don't have trouble
interactively.  It could be that gauss_rle is the only thing I've run
into which explicitly checks type (but that would seem a bit odd).

I'll look at it deeper when I'm back in town on Sunday night.

Rick
--
  Rick Bradley                  http://www.roundeye.net

Reply via email to