Re: [Gimp-user] Empty skull, vacated because I can't crop an image and its driving me to drink.

2008-09-05 Thread Xavier Mas
El Friday 05 September 2008 16:16:59 Gene Heskett va escriure:
> Greetings;
>
> Fedora 8, gimp 2.4.6.
>
> I'm back again, trying to crop an image, again, yet, still.
>
> I can cut and cut and cut till I have what I want, but not even the zealous
> crop will get rid of the image area cut, it is still part of the image even
> if I draw it exactly enclosed,  cut it, and open a new blank image and
> paste, the white space at the top of the pix is still there.
>
> I've also saved the zealous crop results, and reloaded it, but the white
> space left after the cut is still, apparently forever a part of the image. 
> I don't want it, and I sure as heck don't need it restricting where
> guntenprint can put it on the paper because gutenprint will not allow the
> white space to be expanded off the edge of the paper.
>
> Darnit, I want to see the crosshatch indicating no data at all exists in
> that area once I have selected it and cut it away.  If I can do it in the
> darkroom on an enlarging easel & a pair of scissors (and I can and have
> many times in the last 60 years), why can't I do it in gimp?
>
> So what is the secret handshake that makes a cut operation a real, totally
> nuked, its ALL GONE cut as if the data went 100% into the bit bucket?
>
> --
> Cheers, Gene
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> A homeowner's reach should exceed his grasp, or what's a weekend for?

If I understood well your question,

Why don't you try to cut the image using the color selection tool and after 
saving the result image without saving the color of transparent pixels?

You can also delete the color of few pixels lefts after cutting manually.


Cheers,

-- 
Xavier Mas


__ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com

___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Script-Fu

2008-05-18 Thread Xavier Mas
El Saturday 17 May 2008 23:58:17 Kevin Cozens va escriure:
> Xavier Mas wrote:
> > I need to program some batch actions using Scheme or Perl in GIMP but am
> > not able to see the scripts once they are registered. Scripts are well
> > writed, are example taken from GIMP manual, and I change permissions on
> > the files as they became executables, but still can't see them in the
> > menu.
>
> The proper method for registering scripts has changed slightly in the 2.4
> version of GIMP. The manual you are looking at might be a bit out of date.
> Since you said you made the files executable I think you are mixing up
> differences between Script-Fu scripts and other scripts (and plug-ins)
> written in other languages.
>
> Script-Fu scripts only need to be readable and go in to the
> ~/.gimp-2.4/scripts directory. All other scripts and plug-ins need to be
> marked executable and placed in the ~/.gimp-2.4/plug-ins directory.

Thank you Kevin, this really was what I've missed,  now it works !

-- 
Xavier Mas
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


[Gimp-user] Script-Fu

2008-05-17 Thread Xavier Mas
I need to program some batch actions using Scheme or Perl in GIMP but am not 
able to see the scripts once they are registered. Scripts are well writed, 
are example taken from GIMP manual, and I change permissions on the files as 
they became executables, but still can't see them in the menu. There is 
something am missing.

Any suggestions?


--
Xavier Mas
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] register scm script

2008-05-06 Thread Xavier Mas
El Monday 05 May 2008 02:39:57 Kevin Cozens va escriure:
> Xavier Mas wrote:
> > I can't register the following script  when I refresh the server and
> > don't know what's wrong with it. Any suggestions?
> > ---
> > define (uni-img size color)
>
> You are missing the ( before 'define' but I will assume that is just a cut
> and past error.
>
> > (script-fu-menu-register "uni-img" "/Script_Fu/Tutorials")
>
> I would suggest "/Xtns/Script-Fu/Tutorials" if you are using GIMP
> 2.4.

Rigth, this is wrong. Thanks Kevin.


Cheers,

-- 
Xavier Mas
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


[Gimp-user] register scm script

2008-05-04 Thread Xavier Mas
Hi list,

I can't register the following script  when I refresh the server and don't 
know what's wrong with it. Any suggestions?
---
define (uni-img size color)
(set! img (car (gimp-image-new- size size RGB)))
(set! layer (car (gimp-layer-new img size size RGB "layer 1" 100 NORMAL)))
(gimp-image-undo-disable img)
(gimp-image-add-layer img layer 0)
(gimp-palette-set-background color)
(gimp-edit-fill layer BG-IMAGE-FILL)
(gimp-display-new img)
(gimp-image-undo-enable img))
(script-fu-register "uni-img"
"uni-img"
"uni-img"
"uni-img <[EMAIL PROTECTED]>"
"uni-img"
"04/05/2008"
""
SF-VALUE "size" "100"
SF-COLOR "color" '(255 127 0))
(script-fu-menu-register "uni-img" "/Script_Fu/Tutorials")
--
Thank you for your help.

-- 
Xavier Mas
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Creating scripts using Perl

2008-05-03 Thread Xavier Mas
El Saturday 03 May 2008 18:42:21 Joao S. O. Bueno va escriure:
> On Saturday 03 May 2008, Xavier Mas wrote:
> > Hi all,
> >
> > I am just getting myself into the writing of scripts and, as I use
> > Perl normally, would like to use it for that purpose.
> >
> > I'm using GIMP on Linux (Mandriva) and have Perl already installed
> > in my system.
> >
> > Thanks to all.
>
> Hi -
> there are Perl bindings to scripting GIMP.
>
> In Mandriva, just type "urpmi gimp-perl" as root , and look
> at  /usr/lib/gimp/2.0/plug-ins for the examples that get installed.
> (they get mixed with the binary plug-ins already there -
> unfortunattelly the files don't use a .pl extension)
>
>   js
>   -><-
>
>
>
>
>
> ___
> Gimp-user mailing list
> Gimp-user@lists.XCF.Berkeley.EDU
> https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Thank you js. Is there any tutorial on how to write Perl scripts for GIMP?

Cheers,

-- 
Xavier Mas
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


[Gimp-user] Creating scripts using Perl

2008-05-03 Thread Xavier Mas
Hi all,

I am just getting myself into the writing of scripts and, as I use Perl 
normally, would like to use it for that purpose.

I'm using GIMP on Linux (Mandriva) and have Perl already installed in my 
system.

Thanks to all.


-- 
Xavier Mas
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] batch mode in gimp, add alpha, change color

2008-05-01 Thread Xavier Mas
El Thursday 01 May 2008 19:35:56 Kevin Cozens va escriure:
> Choi, JiHui wrote:
> > I want to do some doing on my many images, about 1,000 ;
> > at first, add alpha channel at each image, and change color #fff to
> > transparent.
>
> I think you would be better off doing this using ImageMagick and a shell
> script. The 'convert' program with the -alpha and -background options
> should allow you to do what you want.

Or you can do an script using Scheme. GIMP allows to use any of its functions 
by script.

-- 
Xavier Mas
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user