Re: gauss_rle bad error (indexed image)
Rick Bradley [EMAIL PROTECTED] writes: I've run into a problem with gauss_rle and perl-called script-fu's in Gimp 1.1.29. Basically: - I'm calling some of the various logo script-fu's using the perl Gimp interface - 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 ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ [snip] It seems like gauss_rle is either mistaken about the type of image it receives, the perl interface is not creating images of the proper type, or there's some hoodoo/voodoo loose under the hood. 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. Salut, Sven
(forw) Re: gauss_rle bad error (indexed image)
* 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
Color calibration in X
Hi, I was curious, how much support does X have for useful color calibration? I know that 4.0 adds gamma adjustment. What about the coordiantes of the white point and primaries? That is, is it possible to do anything meaningful with ICCs under X? Cheers, ~ol __ And that's the scary thing about this new system [the renewed trend toward globalization]: it's Orwellian in its reach, but there's no Big Brother. There are lots of little brothers, but there's no Big Brother.
exec Gimp-Perl in CGI please help
I am trying to execute gimp-perl in cgi environment using apache webserver adn mod perl 5.6.0. however I got the following error [Fri Jan 12 11:07:40 2001] [error] protocol error (1) at /usr/lib/perl5/site_perl/5.6.0/i386-linux/Gimp/Net.pm line 66. where I can find more information on gimp-perl executing in cgi enviroment? The following is the source code of my perl script #! /usr/bin/perluse CGI;use strict;use Gimp;use Gimp::Net;Gimp::init; my $q = new CGI;my $userdir = $q-param("userdir");my $tempdir = $q-param("tempdir");my $titletext = $q-param("titletext");my $menutext = $q-param("menutext");my $pagenumber = $q-param("pagenumber"); print "User Directory: ", $userdir, "\nTemplate Directory: ",$tempdir,"\nTitle Text: ",$titletext,"\nMenu Text: ",$menutext,"\nNo. of Pages: ",$pagenumber; my $file = "/sitemakerpro/template/chip/screenshot.jpg";my $file1 = "/sitemakerpro/template/chip/screenshot1.jpg";my $imgX;my $imgY;my $img = Gimp-gimp_file_load(1,$file,$file);$imgX = Gimp-$img-width;$imgY = Gimp-$img-height;my $draw = Gimp-gimp_image_active_drawable($img);Gimp-$img-file_save ($draw,$file1,$file1)
Re: gimp patch 1.1.32-1.2.0 [Also: Re: cmon guys, no patch from 1.1.32 to 1.2??]
On 10 January, 2001 - Raphael Quinet sent me these 2.1K bytes: Unfortunately, none of the three addresses mentioned for anoncvs allowed me to get any files. One of them failed because of a server configuration problem, another one could be reached but did not respond, and the last one was apparently offline because it could not be reached at all (no ping). I admin anoncvs3.gnome.org (130.239.18.151) and it shouldn't have had any problems, it's been _very_ stable for the last few years. I hope that the situation is better for the non-anonymous CVS server. I would be glad if anyone could give me the IP address of an anonymous GNOME CVS mirror that works reasonably well for European users. anoncvs3.gnome.org is in Sweden connected to the Swedish University Network. /Tomas -- Tomas gren, [EMAIL PROTECTED], http://www.ing.umu.se/~stric/ |- Student at Computing Science, University of Ume `- Sysadmin at {cs,ing,acc}.umu.se