Re: [Gimp-user] creative ideas for blending a cropped + rotated image?

2008-05-03 Thread David Gowers
Anthony,

Exactly what you want to do is not clear to me.
Trying to 'fake' the missing bits of photo is, while possible, a very
time consuming choice.
I think you would be better off making it seem like the missing bits
are intentional, as in this example:
http://img.photobucket.com/albums/v449/neota/edits/press-lg-weekly_redux-ed2.png

I made this by:
1. rotate appropriately.
2. apply 'value propagate', propagating opacity to the left and right
only, repeatedly until no transparent pixels are left.
3. remove the streak that appears near the top of his head by a bit of painting.


http://img.photobucket.com/albums/v449/neota/edits/press-lg-weekly_redux-ed3.png
is another idea, made simply by a bit of strategic painting. It
emphasizes the focus on the book.
___
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] Creating scripts using Perl

2008-05-03 Thread Joao S. O. Bueno
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


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


Re: [Gimp-user] Creating scripts using Perl^H^H^H^HRuby

2008-05-03 Thread Leon Brooks
On Sun, 4 May 2008, Xavier Mas wrote:
 Thank you js.

Being useful seems to be a long-term habit for
Joao. I don't think that it's just because
he's Brasiliano, either. (-:

Being weird seems to be a habit for me: I'd
like to script GIMP in Ruby instead.

Cheers; Leon

-- 
http://cyberknights.com.au/   Modern tools; traditional dedication
http://linux.org.au/  PastCommittee Member, Linux Australia
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] creative ideas for blending a cropped + rotated image?

2008-05-03 Thread Anthony Ettinger
On Fri, May 2, 2008 at 11:49 PM, David Gowers [EMAIL PROTECTED] wrote:
 Anthony,

  Exactly what you want to do is not clear to me.
  Trying to 'fake' the missing bits of photo is, while possible, a very
  time consuming choice.
  I think you would be better off making it seem like the missing bits
  are intentional, as in this example:
  
 http://img.photobucket.com/albums/v449/neota/edits/press-lg-weekly_redux-ed2.png

  I made this by:
  1. rotate appropriately.
  2. apply 'value propagate', propagating opacity to the left and right
  only, repeatedly until no transparent pixels are left.
  3. remove the streak that appears near the top of his head by a bit of 
 painting.


  
 http://img.photobucket.com/albums/v449/neota/edits/press-lg-weekly_redux-ed3.png
  is another idea, made simply by a bit of strategic painting. It
  emphasizes the focus on the book.


Thank you David! I just had a good idea from you examples...I can tie
into the UI and perhaps have a little note area below the image, that
is tied into it, like a static tooltip (be it png) describing the
content of the image.

-- 
Anthony Ettinger
408-656-2473
http://anthony.ettinger.name
___
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^H^H^H^HRuby

2008-05-03 Thread Joao S. O. Bueno
On Saturday 03 May 2008, Leon Brooks wrote:
 Being weird seems to be a habit for me: I'd
 like to script GIMP in Ruby instead.

 Cheers; Leon

That is also an option!
Just cehck the apropriate package (probably named gimp-ruby) from your 
distro - or download it from gnome repositories. :-)

js
--
___
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^H^H^H^HRuby

2008-05-03 Thread Leon Brooks
On Sun, 4 May 2008, Joao S. O. Bueno wrote:

Good morning, South America! (-:

 Just cehck the apropriate package (probably
 named gimp-ruby) from your distro

Mandriva 2008.0 on this laptop, about to be
2008.1 AKA spring.

Has perl-Gimp  gimp-python but nothing to
do with Ruby on GIMP (but there are plugins
ruby-rbogl, ruby-gtk2, ruby-game, ruby-mysql,
ruby-RMagick about). Will see if 2008.1 has
anything extra.

Cheers; Leon

-- 
http://cyberknights.com.au/   Modern tools; traditional dedication
http://linux.org.au/  PastCommittee Member, Linux Australia
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] creative ideas for blending a cropped + rotated image?

2008-05-03 Thread Leonard Evens
On Fri, 2008-05-02 at 11:46 -0700, Anthony Ettinger wrote:
 I have a photograph of a client that I would like to rotate so the
 angle is not crooked, but I end up with a V shape after
 rotation...does anyone have any creative ideas for blending something
 in to get a full rectangle?
 
 This is the image in question...I can't crop it down to a square
 because I would loose the book he's holding, and that's the point of
 the web site:
 
 http://holocaustsurvivor.info/img/press-lg-weekly_redux.png
 
 Looking for ideas, thanks.
 

I presume you don't mean you want to do a three dimensional rotation so
the subject appears to be facing the camera, since that is clearly
impossible.

If you mean you just want to turn it on the page so the subject looks
upright, you can do that with an appropriate rotation transformation,
but you are going to get a rotated rectangle.  You can crop out part of
it, so the top and bottom will be horizontal and the sides vertical in
its new orientation, but then it will be a hexagon instead of a
rectangle.  I would suggest enlarging the canvas and then cropping it as
small as you can get it to include the subject's head and the book. Then
clone the relevant parts of the image to fill in the corners. There
won't be much problem with the background.  One thing you could do is to
select the figure, and then put any color you want in the inverted
selection.  If you are careful about what you leave in of the original
figure,  you ought to be able to clone in the shirt, the arms and
portions of the book.  If you want more than that,  you will have to
draw it in yourself.

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