[ANNOUNCE] Script-Fu Tutorial
Hi, I have written just another Script-Fu tutorial, its a short tutorial for the people, which are already familar with the Scheme language. It gives step by step instructions on how to write an example Script-Fu, avoid pitfalls and debug Script-Fu. The tutorial isn't completly finished yet, but it should provide enough info's for a start. The tutorial is available at: * http://pingus.seul.org/~grumbel/gimp/script-fu/script-fu-tut.html Comments are welcome. Cu Ingo -- ICQ: 59461927 http://www.pingus.cx | Ingo Ruhnke <[EMAIL PROTECTED]> http://home.pages.de/~grumbel/ | '
Re: Gimp::Net::gimp_main();
On Mon, Aug 14, 2000 at 03:23:33PM -0400, Filip Krska <[EMAIL PROTECTED]> wrote: > do you know, what's wrong when my perl and Perl-Server says: This just means that the script lacks some neccessary definitions. Try this: use Gimp ':auto"; Gimp::init; ... put your commands here (and no Gimp::main) -- -==- | ==-- _ | ---==---(_)__ __ __ Marc Lehmann +-- --==---/ / _ \/ // /\ \/ / [EMAIL PROTECTED] |e| -=/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+ The choice of a GNU generation | |
Re: grays & black -> color
Go to Image -> Colors -> Curves Change [Value] to the different color channels, and move the ends of the curve around until you get what you want.
Re: grays & black -> color
Hi, There are several ways to do what you want... You can create a layer over your image, set the layer on top's Mode to Multiply and fill that top layer completely with Red. This will give you an image that's palette goes from black-to-red-to-white... Or, instead of the Multiply mode, try Overlay (which gives a better effect). However, if you want to make your image so it's palette is pure red to white, then try this method: 1) Copy your greyscale image (Ctrl+C or Edit->Copy) 2) Go to the Channels tab in the Layers dialog. 3) Create a new channel (with default values). 4) Select this channel (and make sure the Red,Green,Blue are unselected). 5) Paste your image into the channel (Ctrl+V or Edit->Paste) 6) Right click on the channel we created and choose Alpha to Selection 7) Go back to the Layers tab 7) Make two layers (the top layer will be transparent, and the bottom will be pure White) Also make your image's layer invisble 8) Select the top layer 10) Choose red from the palette, and apply a bucket fill to the selection. (If it doesn't look right, invert the selection by pressing Ctrl+I or Select->Invert) That's it...rathert hen your image now being black to white in palette, it will be red to white in palette. Hope this helps...if it doesn't, then maybe I'll write up a tutorial for my site. =) Bye! -- Gautam N. Lad http://www.cubicdesign.com - Original Message - From: "Nikolai Vladychevski" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 14, 2000 12:26 PM Subject: grays & black -> color > Hello, > > I am trying to find out how to convert gray colors including black into > for example red color but have no success. I know I can select with > fuzzy selection tool but the problem is, I have a black shape and gray > areas that are used as antialising, so I want to convert it all like it > does Hue/Saturation but, Hue/Saturation does not works on Black and Gray > colors, why is this? > > Thanks in advance > Nikolai
grays & black -> color
Hello, I am trying to find out how to convert gray colors including black into for example red color but have no success. I know I can select with fuzzy selection tool but the problem is, I have a black shape and gray areas that are used as antialising, so I want to convert it all like it does Hue/Saturation but, Hue/Saturation does not works on Black and Gray colors, why is this? Thanks in advance Nikolai
Re: The GIMP v1.1.24 Installation Saga Continues.....
ftp://cpan.org/perl/CPAN/modules/by-module/ in your browser. On Mon, 14 Aug 2000, Andrew J Fortune wrote: > Marc, > > You are right. I didn't build any source for Perl or PDL. I don't have the > foggiest notion as to where to go from here - where can I either get the > complete source for these - or maybe there is an RPM that you know of that > is complete ? > > thanks, > Andrew > > - Original Message - > From: Marc Lehmann <[EMAIL PROTECTED]> > To: Andrew J Fortune <[EMAIL PROTECTED]> > Cc: Jonathan E. Paton <[EMAIL PROTECTED]>; > <[EMAIL PROTECTED]> > Sent: Sunday, August 13, 2000 7:26 PM > Subject: Re: The GIMP v1.1.24 Installation Saga Continues. > > > > On Sun, Aug 13, 2000 at 04:39:43PM +1000, Andrew J Fortune > <[EMAIL PROTECTED]> wrote: > > > /usr/lib/perl5/site_perl/5.005/i386-linux/PDL/Core/pdlcore.h:4: > ppport.h: No > > > > > > Got any ideas about this ? > > > > Yes, you have not instzalled PDL from source, but _either_ using one of > > the many pdl rpm's that leave out a lot of files or one of the few pdl > > rpm's that are splitted into pdl and pdl-devel parts (and you didn't > > install the latter one). > > > > It is interesting that most of mailinglist traffic in the recent weeks is > > caused by the (perfectly working ;) rpm system :) > > > > -- > > -==- | > > ==-- _ | > > ---==---(_)__ __ __ Marc Lehmann +-- > > --==---/ / _ \/ // /\ \/ / [EMAIL PROTECTED] |e| > > -=/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+ > > The choice of a GNU generation | > > | > : Gene Imes http://www.ozob.net :
Gimp::Net::gimp_main();
Hello, do you know, what's wrong when my perl and Perl-Server says: 966258177: accepted unix connection hilite: required callback 'net' not found (ERROR) 966258177: closing connection 11 (3 requests in 0 seconds) in the moment of execution of line Gimp::Net::gimp_main(); (in script "hilite" by Giray Devlet)? Thanks a lot Filip
The simplest example of Perl-Gimp CGI
Hello, I've finally installed Gimp with Perl-Server (from source, each attempt to use rpm's failed ) and now i'm trying to examine the CGI interface (and learn) on the example 'hilite' from Giray Devlet . When invoked, my Perl-Server accepts the connection (saying 966241831: accepted unix connection 966241831: closing connection 11 (3 requests in 0 seconds) ), but desired GIF's are not produced. Do you have any experience with these example? Or do you know simplier (Some Hello world CGI without effects?) Thanks a lot and have a nice day Filip
Re: A question about TIFF's comment area
On Mon, Aug 14, 2000 at 01:17:49PM +0900, kuppo <[EMAIL PROTECTED]> wrote: > You know TIFF format has a comment area. So you can write your > comments in this area at the time of saving a image by TIFF format. > If you know any way of doing this or similar things, please let me The tiff plug-in saves the image comment. Search for something like "attaching parasites to an image" and the description of gimp-comment in docs/parasites.txt. in perl you could do something like this (mostly pseudocode): $comment = $image->parasite_find("gimp-comment")->data; $comment .= "date: text\n"; $image->parasite_attach(new Parasite "gimp-comment", PARASITE_PERSISTENT, $comment); -- -==- | ==-- _ | ---==---(_)__ __ __ Marc Lehmann +-- --==---/ / _ \/ // /\ \/ / [EMAIL PROTECTED] |e| -=/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+ The choice of a GNU generation | |
Re: The GIMP v1.1.24 Installation Saga Continues.....
hi, > Got any ideas about this ? perl is the reason why I am going through > all of this heartache - so I can get to the perl plug-ins (esp. perlotine). my advice is to get the full Perl 5.6 tarball and install that. alan
Re: The GIMP v1.1.24 Installation Saga Continues.....
hi, > checking for gtk-config... /usr/bin/gtk-config > checking for GTK - version >= 1.2.8... > *** An old version of GTK+ (1.2.6) was found. > *** You need a version of GTK+ newer than 1.2.8. The latest version of > *** GTK+ is always available from ftp://ftp.gtk.org. > *** > *** If you have already installed a sufficiently new version, this error > *** probably means that the wrong copy of the gtk-config shell script is > *** being found. The easiest way to fix this is to remove the old version > *** of GTK+, but you can also set the GTK_CONFIG environment to point to the > *** correct copy of gtk-config. (In this case, you will have to > *** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf > *** so that the correct libraries are found at run-time)) > configure: error: Test for GTK failed. See the file 'INSTALL' for help. > [root@localhost gimp-1.1.24]# ;-) well, it tries to help you as much as it can (without getting overly technical!) firstly, you need to make sure that all of your libraries are properly linked. ldconfig -a is the command to run. secndly, you dont want /usr/lib to appear twice in your ld.so.conf file. that can mess things up (and slow down library searches!) FINALLY, are you SURE that the new gtk is in /usr/lib? have you checked under /usr/local/lib ? if its there, then add this path to your ld.so.conf and then run ldconfig -a again. hint: run 'updatedb' as root. it will take a while, but will build a directory database of your system. then, to find files on your machine, you can type locate filename-that-i-want and it'll find that file - with path. ideal for debugging problems such as this!! good luck!! alan
Re: Printing on Custom-sized Papers?
Ward Fleming wrote: > > Hi all-- > > has anyone been able to convince the GIMP to print to odd-sized (custom > user-sized) paper? We have an Epson Stylus Color 3000 (with a 12" print > bed) which we'd like to convince to print 12 by 54 inch images. Problem > is, the existing print plug-in only lists standard paper sizes. Anyone > know how to convince it to print to other paper sizes? I've printed to 14" (length), as well as wide envelopes on my Epson 440, but what I did was create a separate printers in my /etc/printcap that had the page sizes defined this way. I then just select to print to that printer. > > Our thanks in advance, > > --Ward Fleming and George Homsy -- Until later: Geoffrey [EMAIL PROTECTED] Microsoft != Innovation
Re: The GIMP v1.1.24 Installation Saga Continues.....
On Mon, Aug 14, 2000 at 07:24:45AM +1000, Andrew J Fortune <[EMAIL PROTECTED]> wrote: > You are right. I didn't build any source for Perl or PDL. I don't have the > foggiest notion as to where to go from here - where can I either get the > complete source for these - or maybe there is an RPM that you know of that I *hope* others can provide you with an RPM of PDL, because I won't ever touch it so I don't know it. While rpm is a quick ways to install software (when and if it works), the slow and usually safer way for perl is to use CPAN. Just enter: perl -MCPAN -eshell And follow the menu. After that you should have a prompt like this: cpan> Just enter "install PDL" at this prompt and chances are high that it works out of the box. If it doesn't you can use "look PDL" (enters the shell) and edit the file "perldl.conf" to your liking, followed by: perl Makefile.PL make make test make install -- -==- | ==-- _ | ---==---(_)__ __ __ Marc Lehmann +-- --==---/ / _ \/ // /\ \/ / [EMAIL PROTECTED] |e| -=/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+ The choice of a GNU generation | |
Printing on Custom-sized Papers?
Hi all-- has anyone been able to convince the GIMP to print to odd-sized (custom user-sized) paper? We have an Epson Stylus Color 3000 (with a 12" print bed) which we'd like to convince to print 12 by 54 inch images. Problem is, the existing print plug-in only lists standard paper sizes. Anyone know how to convince it to print to other paper sizes? Our thanks in advance, --Ward Fleming and George Homsy