Re: [Gimp-user] Xsane Gimp
Alle 15:17, domenica 30 gennaio 2005, Mogens Jaeger ha scritto: Vittorio wrote: Alle 02:30, domenica 30 gennaio 2005, Mogens Jaeger ha scritto: Vittorio wrote: Alle 11:11, sabato 29 gennaio 2005, Mogens Jaeger ha scritto: Vittorio wrote: Context: pentium 4, kde 3.3.2, the very last build of linux gentoo compiled from scratch; gimp 2.0.4, xsane 0.96, xscanimage 1.0.13; epson usb scanner Both xsane and xscanimage alone work smoothly with the usb scanner. The directories /ushr/lib/gimp/2.0/plug-ins/ and /usr/local/lib/gimp-2.0/plug-ins/ contain @xsane and @xscanimage. When I launch the gimp 2.0 I see during the booting phase of the program that xsane and xscanimage are detected as plugins . I don't know about the xscanimage, but for xsane do as described in the readme: To run xsane under the gimp(1), simply set a symbolic link from the xsane-binary to one of the gimp(1) plug-ins directories. I did it, as I said in my message. No - in your message you said it was in: The directories /ushr/lib/gimp/2.0/plug-ins/ and /usr/local/lib/gimp-2.0/plug-ins/ but it has to be as an symbolic link in your user plug-ins directories, like: ~/.gimp-2.0/plug-ins/ You're right, sorry! I put this new link as you said but still doesn't work,i.e. xsane (which works standalone, I repeat) is seen by the Gimp as a plug-in BUT doesn't appear in the menu. Ciao Vittorio How, as a standalone? if I call xsane without the Gimp open, it by default scans to viewer, file or others, but under Gimp, it scans to the Gimp. My xsane under Gimp is located under 'file/acquire' from top-menu. Right, I mean that I tried to verify if xsane worked, was in order. So, launching it on its own, outside the gimp I could work with it to acquire an image, a fax, etc. So xsane exists works, isn't out of order. Its the combination of xsane the gimp that doesn't seem to work properly. Ciao Vittorio ___ Gimp-user mailing list Gimp-user@lists.xcf.berkeley.edu http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] Xsane Gimp
Alle 14:23, domenica 30 gennaio 2005, Sven Neumann ha scritto: Hi, Vittorio [EMAIL PROTECTED] writes: I put this new link as you said but still doesn't work,i.e. xsane (which works standalone, I repeat) is seen by the Gimp as a plug-in BUT doesn't appear in the menu. Ciao Vittorio How do you know that it is seen by GIMP as a plug-in? Did you locate it in the Plug-In Browser (as found in Toolbox-Xtns)? Sven, when you launch the gimp, at the very beginning during the booting a rectangular box with the word Gimp 2.0 and many running words occupies the display. One of those running words is plug-ins and another is xsane. This intutevely makes me think that xsane has been detected. Ciao Vittorio I ___ Gimp-user mailing list Gimp-user@lists.xcf.berkeley.edu http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] Xsane Gimp
Alle 11:11, sabato 29 gennaio 2005, Mogens Jaeger ha scritto: Vittorio wrote: Context: pentium 4, kde 3.3.2, the very last build of linux gentoo compiled from scratch; gimp 2.0.4, xsane 0.96, xscanimage 1.0.13; epson usb scanner Both xsane and xscanimage alone work smoothly with the usb scanner. The directories /ushr/lib/gimp/2.0/plug-ins/ and /usr/local/lib/gimp-2.0/plug-ins/ contain @xsane and @xscanimage. When I launch the gimp 2.0 I see during the booting phase of the program that xsane and xscanimage are detected as plugins BUT... if I a ask to acquire an image neither xsane nor xscanimage are displayed in the file-acquire menu (sorry I'm translating the menu item from Italian into English!) What should I check and do in the end? (A step by step explanation please) Ciao Vittorio Hello I don't know about the xscanimage, but for xsane do as described in the readme: To run xsane under the gimp(1), simply set a symbolic link from the xsane-binary to one of the gimp(1) plug-ins directories. I did it, as I said in my message. Ciao Vittorio ___ Gimp-user mailing list Gimp-user@lists.xcf.berkeley.edu http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] Xsane Gimp
Alle 02:30, domenica 30 gennaio 2005, Mogens Jaeger ha scritto: Vittorio wrote: Alle 11:11, sabato 29 gennaio 2005, Mogens Jaeger ha scritto: Vittorio wrote: Context: pentium 4, kde 3.3.2, the very last build of linux gentoo compiled from scratch; gimp 2.0.4, xsane 0.96, xscanimage 1.0.13; epson usb scanner Both xsane and xscanimage alone work smoothly with the usb scanner. The directories /ushr/lib/gimp/2.0/plug-ins/ and /usr/local/lib/gimp-2.0/plug-ins/ contain @xsane and @xscanimage. When I launch the gimp 2.0 I see during the booting phase of the program that xsane and xscanimage are detected as plugins . I don't know about the xscanimage, but for xsane do as described in the readme: To run xsane under the gimp(1), simply set a symbolic link from the xsane-binary to one of the gimp(1) plug-ins directories. I did it, as I said in my message. No - in your message you said it was in: The directories /ushr/lib/gimp/2.0/plug-ins/ and /usr/local/lib/gimp-2.0/plug-ins/ but it has to be as an symbolic link in your user plug-ins directories, like: ~/.gimp-2.0/plug-ins/ You're right, sorry! I put this new link as you said but still doesn't work,i.e. xsane (which works standalone, I repeat) is seen by the Gimp as a plug-in BUT doesn't appear in the menu. Ciao Vittorio ___ Gimp-user mailing list Gimp-user@lists.xcf.berkeley.edu http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
[Gimp-user] Xsane Gimp
Context: pentium 4, kde 3.3.2, the very last build of linux gentoo compiled from scratch; gimp 2.0.4, xsane 0.96, xscanimage 1.0.13; epson usb scanner Both xsane and xscanimage alone work smoothly with the usb scanner. The directories /ushr/lib/gimp/2.0/plug-ins/ and /usr/local/lib/gimp-2.0/plug-ins/ contain @xsane and @xscanimage. When I launch the gimp 2.0 I see during the booting phase of the program that xsane and xscanimage are detected as plugins BUT... if I a ask to acquire an image neither xsane nor xscanimage are displayed in the file-acquire menu (sorry I'm translating the menu item from Italian into English!) What should I check and do in the end? (A step by step explanation please) Ciao Vittorio ___ Gimp-user mailing list Gimp-user@lists.xcf.berkeley.edu http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
[Gimp-user] Re: Perl modules with Gimp 2.0 MORE...
Seth, Many thanks for your quick reply. Now it all works fine! Unfortunately for me the ChangeLog file wasn't that clear. But now, at last, I know how to use it! Thanks again. Now, the perl module I have just fixed (called join2pics, labels are in Italian) with your help combines two picture into one. In a nutshell, if you want to print on a A4 sheet four pictures ( as I often do with my digital camer's photos) you just call twice join2pics combining the picture you like either horizontally or vertically. I think this module, translated into English, could be helpful to other people. How could I contribute it to other GIMPers? Happy GIMPing to you Vittorio On Monday 12 July 2004 13:34, Seth Burgess wrote: s/undo_push/undo/ A small number of calls (some of them frequently used) have changed between versions; you might want to look at the ChangeLog for others. Happy GIMPing, Seth Burgess [EMAIL PROTECTED] On Mon, 12 Jul 2004 14:21:07 +0100, Vittorio [EMAIL PROTECTED] wrote: A perfectly working perl module with the Gimp 1.2.3 now, with the Gimp 2.0.2 and the CPAN Gimp 2.0 stuff, stops during the execution saying: Subroutine Gimp::gimp_undo_push_group_start redefined at /usr/lib/perl/5.8/Gimp.pm line 603. What does it mean and what should I do? Ciao Vittorio ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
[Gimp-user] Perl modules with Gimp 2.0
A perfectly working perl module with the Gimp 1.2.3 now, with the Gimp 2.0.2 and the CPAN Gimp 2.0 stuff, stops during the execution saying: Subroutine Gimp::gimp_undo_push_group_start redefined at /usr/lib/perl/5.8/Gimp.pm line 603. What does it mean and what should I do? Ciao Vittorio ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] Gimp 2.0.2 and perl plug-ins
On Tuesday 06 July 2004 18:26, Sven Neumann wrote: Hi, Vittorio [EMAIL PROTECTED] writes: configure:2269: checking for gimptool-2.0 configure:2287: found /usr/bin/gimptool-2.0 configure:2300: result: /usr/bin/gimptool-2.0 OK, so you have gimptool-2.0. BTW, why the heck doesn't gimp-perl use pkg-config? Looks like it's using an outdated gimp-2.0.m4 script. Well, that is nothing that you should worry about. I just mention it in case that Seth listens. configure:2308: checking for GIMP - version = 2.0.0 configure:2411: cc -o conftest -g -O2 -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include conftest.c -L/usr/lib -lgimpui-2.0 -lgimpwidgets-2.0 -lgimp-2.0 -lgimpcolor-2.0 -lgimpmath-2.0 -lgimpbase-2.0 -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 5 /usr/bin/ld: cannot find -lgtk-x11-2.0 Looks like gimptool-2.0 returns reasonable linker flags but the linker fails to find the gtk+ library at the specified location. Where is it installed on your box? Not in /usr/lib? Sven Sven, I cannot find in any place in my box any file named lgtk-x11-2.0 I'm somewhat puzzled and don't know what to do next. Vittorio ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] Gimp 2.0.2 and perl plug-ins
On Tuesday 06 July 2004 13:45, Sven Neumann wrote: Hi, [EMAIL PROTECTED] writes: With the Gimp 2.0 I need to use, as I already did under gimp 1.2.3, some useful perl plug-ins I wrote. From www.gimp.org I have installed the linux debian testing packages contributed for gimp 2.0.2 including the gimp-perl 2.0.1 deb package which turns out not to include any of the wanted *.pm perl module files. Therefore I downloaded from cpan the gimp 2.0 perl module but when I try to compile it by means of perl Makefile.PL an error pops up saying that it cannot find the gimp executable (present, of course, under /usr/bin both as gimp-2.0 and @gimp) I don't think it's looking for the gimp executable. It is looking for gimptool-2.0 which is not part of the standard gimp RPM package. You will need to install the gimp-devel package if you want to compile things for gimp-2.0. This also holds true for compiling gimp-perl of course. Sven Sven, I don't think so. having a look at the config.log I've found: snip configure:2079: test -s conftest.o configure:2082: $? = 0 configure:2100: result: none needed configure:2118: cc -c -g -O2 conftest.c 5 conftest.c:2: error: parse error before me configure:2121: $? = 1 configure: failed program was: | #ifndef __cplusplus | choke me | #endif configure:2269: checking for gimptool-2.0 configure:2287: found /usr/bin/gimptool-2.0 configure:2300: result: /usr/bin/gimptool-2.0 configure:2308: checking for GIMP - version = 2.0.0 configure:2411: cc -o conftest -g -O2 -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include conftest.c -L/usr/lib -lgimpui-2.0 -lgimpwidgets-2.0 -lgimp-2.0 -lgimpcolor-2.0 -lgimpmath-2.0 -lgimpbase-2.0 -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 5 /usr/bin/ld: cannot find -lgtk-x11-2.0 collect2: ld returned 1 exit status configure:2414: $? = 1 configure: program exited with status 1 snip Any help? Vittorio ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] Print multiple photos
On Wednesday 23 June 2004 22:43, Gary Montalbine wrote: I have been searching for a way to print 4 photos at the same time on a sheet of photo paper using gimp and gimp print. I find that if I print them one at a time the mechanical part of the printer scratches the photos already printed. Is there any possible solution? Gary ___ Gary, I hacked a perl program I found in the net working as a module (you need the gimp-perl stuff to use it under linux). It puts how many pictures you want on a single piece of paper. Here you are the entire code (dialogue are in Italian): #!/usr/bin/perl -w # # This script joins two pictures on a single sheet putting them one on top # of the other. # You can set the distance (space) between the two pictures # This script is the result of a light manipulation of the original # # DOV GROBGELD's script # # Thanks to Dov! # # Vittorio De Martino - [EMAIL PROTECTED] # use Gimp :auto; use Gimp::Fu; sub join2pics { my($img1, $drw1, $drw2, $space, $toggle) = @_; #my $space=10; $space= $space 0 ? $space : 0; # Get image 2 $img1 = $drw1-image(); my $img2 = gimp_drawable_image($drw2); # Get sizes through OO syntax my($w1, $h1) = ($drw1-width, $drw1-height); my($w2, $h2) = ($drw2-width, $drw2-height); if ($toggle == 0) # It's vertical { # The new height is the maximum height of the images my $wmax = $w1 $w2 ? $w1 : $w2; # Create an undo group gimp_undo_push_group_start($img1); # Resize the drawable layer to make room for the img gimp_image_resize($img1, $wmax, $h1+$h2+$space, ($wmax-$w1)/2, 0); gimp_layer_resize($drw1, $wmax, $h1+$h2+$space, ($wmax-$w1)/2, 0); # Copy $drawable2 and paste it into the new space of $drawable1 # select all of img2 gimp_selection_all($img2); # copy it to the clipboard gimp_edit_copy($drw2); # make a selection in img 1 in the position where it is to be pasted gimp_rect_select($img1, ($wmax-$w2)/2, $h1+$space, $w2, $h2, 0,0,0); # paste and then anchor it my $floating_layer = gimp_edit_paste($drw1, 0); gimp_floating_sel_anchor($floating_layer); # Close the undo group gimp_undo_push_group_start($img1); # Update the display gimp_displays_flush(); } else #it's horizontal { # The new height is the maximum height of the images my $hmax = $h1 $h2 ? $h1 : $h2; # Create an undo group gimp_undo_push_group_start($img1); # Resize the drawable layer to make room for the img gimp_image_resize($img1, $w1+$w2+$space, $hmax, 0, ($hmax-$h1)/2); gimp_layer_resize($drw1, $w1+$w2+$space, $hmax, 0, ($hmax-$h1)/2); # Copy $drawable2 and paste it into the new space of $drawable1 # select all of img2 gimp_selection_all($img2); # copy it to the clipboard gimp_edit_copy($drw2); # make a selection in img 1 in the position where it is to be pasted gimp_rect_select($img1, $w1+$space, ($hmax-$h2)/2, $w2, $h2, 0,0,0); # paste and then anchor it my $floating_layer = gimp_edit_paste($drw1, 0); gimp_floating_sel_anchor($floating_layer); # Close the undo group gimp_undo_push_group_start($img1); # Update the display gimp_displays_flush(); } return undef; } register join2pics, # fill in name Joins two pictures vertically/horizontally, # a small description , # a help text Vittorio De Martino,# Your name 2002, V.De Martino,# Your copyright Oct. 2002, # Date Image/Image/Join2pics, *, # Image types [ [PF_DRAWABLE, drawable, Drawable to concatinate, undef], [PF_INT, space, Vert. space between pictures, 10], [PF_RADIO , 'position', position, 0, [Vertical = 0, Horizontal = 1]] ], \join2pics; exit main(); ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
[Gimp-user] kde gimp problems when zooming in
Context: P4, linux debian testing with boxed kde 3.2 and gimp 1.2.3. 1) I often update my linux box by means of 'apt-get update' and 'apt-get upgrade' . (I suppose that) After one of this updating operation I'm no longer able in the gimp to zoom in an image to 1:1 by pressing only the key 1 which instead open the dialogue windows to open a file (in a nutshell 1 has become a shortcut of file-open !). What should I do? 2) only the shortcut '1' is clearly suggested in the zoom menu of the gimp to zoom to 1:1. Is it possible to give other shorcuts for the other sizes (2:1 or 1:2, for instance) and how? Ciao Vittorio ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
[Gimp-user] A bit OT: Setting up hp scanjet 7400c
I've been using an epson 1240 perfection USB scanner for a very long time successfully with the Gimp Xsane (latest stable versions) under linux debian testing. Now my company has given me an hp scanjet 7400c with ADF which - CONNECTED TO A USB port - I cannot make even start, no sign of activity at all (it works corectly under windows XP!) even though I have been trying any suggestion provided in the Internet (many many postings and howtos!) to no avail. I wonder if someone out there has been able to set up this scanner under linux and how he/she succeeded in it. Step by step instructions will be highly appreciated. Thanks Vittorio ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
[Gimp-user] moving around a selection
Context: Linux and the Gimp. How can I move a selection around a picture, that is (and more precisely), move the frame of the selection only not its content (in order to e.g. better center the image the selection will contain)? Ciao Vittorio pgp0.pgp Description: PGP signature
Re: [Gimp-user] Automatic preview
Sven Neumann [gimp-user] 27/05/03 13:43 +0200: Hi, Vittorio [EMAIL PROTECTED] writes: I use the Gimp to view and print (a lof of) pictures taken with my digicam. What I personally find somewhat time-consuming is the first time preview of the pictures while in the Open file menu. It is apparent that the Gimp has to execute some slow procedure which also records the small preview picture somewhere. Is there anyway to produce all the preview picture in a bulk(, even before loading the Gimp)? I'm not aware of a script that creates the previews (although it should be trivial to write one) but you can select all files in the GIMP file selector and generate the previews in one go. Sven I had a go at it but unfortunately the gimp (1.2.3 under linux) executes the preview for half the pictures, that is every other picture. I mean that having pics p1010001.jpg, p1010002,..p1010081.jpg the gimp is showing the preview for p1010001.jpg p1010003.jpg . p1010079.jpg p1010081.jpg neglecting the even numbered pics. (??) Thanks Vittorio ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
[Gimp-user] Problems with layer masks...
Context: PC with linux debian woody and the gimp 1.2.3. I've read carefully and carried out many examples of the manual Grokking the Gimp, but... Control-clicking on the layer mask tumbnail I toggle on and off the effect of the layer mask on the layer image and the layer mask is alternatevely framed in red. But Alt-clicking on the same tumbnail I do not see any effect. I expect to see the thumbnail framed in green and the mask appear in the image but nothing of the kind is occurring and nothing is signalled by the Gimp. What should I do, check (or whatever verb you like)? Please, help!! Ciao Vittorio ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] Re: Problems with layer masks...
Guillermo S. Romero / Familia Romero [gimp-user] 08/11/02 15:54 +0100: [EMAIL PROTECTED] (2002-11-08 at 1318.34 +): alternatevely framed in red. But Alt-clicking on the same tumbnail I do not see any effect. I expect to see the thumbnail framed in green and the mask appear in the image but nothing of the kind is occurring and nothing is signalled by the Gimp. Moving selections could also fail (uses Alt too). Check the startup tips. What should I do, check (or whatever verb you like)? Probably your window manager is playing tricks. Some wm like to use Alt+Click for things (and Alt+Move and so on), so the apps never see that operation. You will have to change your wm to use some spare keys. Super and Hyper are rarely used by apps, and you can do remapping with xkeycaps.. I forgot to say that I use gnome 1.4 and sawfish. Is this the case you're referring to in your message? Ciao Vittorio ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
[Gimp-user] Re: Printing with the Gimp 1.2.3
Vittorio [debian-user] 29/10/02 13:18 +: It all works but I don't understand.. Under debian woody I have the gimp 1.2 and gimp-print. I've set my Epson 640 printer as my default printer by means of magicfilter according to the following scheme: 1) lp is 360 dpi 2) lp720 is 720x720 dpi 3) lp1440 is 1440x720 dpi Now, using the print command under the gimp I have (tentatively) selected in 'setup printer' the epson 640 as my printer, and lp as my printer name. It works! But I find it all a bit confusing I mean I've chosen lp (which is 360 dpi to me) and I've selected other resolutions than the 1). Then why should I tell the Gimp what my printer is? Isn't already selected by magicfilter? Shouldn't be enough to select printer name only (either lp, or lp720 or lp1440)? Is there anyone out there able to explain the basic of printing with the gimp? Ciao Vittorio -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
[Gimp-user] Printing with the Gimp 1.2.3
It all works but I don't understand.. Under debian woody I have the gimp 1.2 and gimp-print. I've set my Epson 640 printer as my default printer by means of magicfilter according to the following scheme: 1) lp is 360 dpi 2) lp720 is 720x720 dpi 3) lp1440 is 1440x720 dpi Now, using the print command under the gimp I have (tentatively) selected in 'setup printer' the epson 640 as my printer, and lp as my printer name. It works! But I find it all a bit confusing I mean I've chosen lp (which is 360 dpi to me) and I've selected other resolutions than the 1). Then why should I tell the Gimp what my printer is? Isn't already selected by magicfilter? Shouldn't be enough to select printer name only (either lp, or lp720 or lp1440)? Is there anyone out there able to explain the basic of printing with the gimp? Ciao Vittorio ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user