Re: [Gimp-user] Rotate a picture?

2011-02-04 Thread Elwin Estle
Hmm... the 45 degree angle part is simple enough, if that is what you really 
mean.  However, when you start talking about a book at a 45 degree angle, it 
sounds maybe like what you want is to make it look as if it is being viewed 
from a 45 degree angle? ... not just rotated?  ... with some sort of 3d look to 
it?  If that is the case, you might want filtersmapmap object and map the 
thing to a box, then modify the settings so that you have a tall, thin box, 
standing on end with the picture on one face of it, sort of like a software box 
for a software ad.

...is that correct?

...something like this?

http://tutorialblog.org/wp-content/uploads/2007/01/final1.jpg

--- On Thu, 2/3/11, . pe...@aleksandrsolzhenitsyn.net wrote:

 From: . pe...@aleksandrsolzhenitsyn.net
 Subject: [Gimp-user] Rotate a picture?
 To: gimp-user@lists.XCF.Berkeley.EDU
 Date: Thursday, February 3, 2011, 9:09 PM
 I'd like to orient a picture of a
 book so that it's on  a 45 degree
 angle and then cut out the area around the book to that
 when you
 view the picture is looks like a book on  a 45 degree
 angle with no area
 around it.  I'm sure GIMP can do that but the question
 is whether I can
 put that same photo on a website and have it look like it's
 a book on a
 45 degree angle.
 
 Any thoughts on this?
 
 
 -Inline Attachment Follows-
 
 ___
 Gimp-user mailing list
 Gimp-user@lists.XCF.Berkeley.EDU
 https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
 


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


[Gimp-user] Rotate a picture?

2011-02-03 Thread .
I'd like to orient a picture of a book so that it's on  a 45 degree
angle and then cut out the area around the book to that when you
view the picture is looks like a book on  a 45 degree angle with no area
around it.  I'm sure GIMP can do that but the question is whether I can
put that same photo on a website and have it look like it's a book on a
45 degree angle.

Any thoughts on this?



signature.asc
Description: OpenPGP digital signature
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Rotate a picture?

2011-02-03 Thread Stefan Maerz
 I'd like to orient a picture of a book so that it's on  a 45 degree
 angle and then cut out the area around the book to that when you
 view the picture is looks like a book on  a 45 degree angle with no area
 around it.  I'm sure GIMP can do that but the question is whether I can
 put that same photo on a website and have it look like it's a book on a
 45 degree angle.

Yes, you should be able to. First crop the image (easier to do at this
step), then use the rotate tool. Rotate tool has options that allow
you to specify the point that you rotate around, as well as the angle
to rotate.

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


Re: [Gimp-user] Rotate a picture?

2011-02-03 Thread Owen
 I'd like to orient a picture of a book so that it's on  a 45 degree
 angle and then cut out the area around the book to that when you
 view the picture is looks like a book on  a 45 degree angle with no
 area
 around it.  I'm sure GIMP can do that but the question is whether I
 can
 put that same photo on a website and have it look like it's a book on
 a
 45 degree angle.

 Any thoughts on this?


1. Rotate the image
2. Cut out the background (color to alpha if possible)
3. Alpha to selection
4. Copy/Cut and Paste as new image with transparent background
5. Save as png


-- 
Owen

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


Re: [Gimp-user] Rotate increases PNG size x10 ! - next Q

2010-06-25 Thread Philip Rhoades
Chris,


On 2010-06-25 02:54, Chris Mohler wrote:
 On Thu, Jun 24, 2010 at 6:16 AM, Philip Rhoadesp...@pricom.com.au  wrote:
 Confirmation of what is going on from the gurus would be appreciated!

 It was as I guessed - the scans are in grayscale mode but the contents
 are essentially a 1-bit image.

 Open a scan, do image-mode-bitmap, choose 1-bit palette.


I had to do:

image-mode-indexed-1bit


 Then
 rotate and save - the file size will be comparable to the original.


OK, so now the next question is:  If the original is recognised by 
identify as a 1 bit per pixel image, why doesn't Gimp keep it that way 
when opening the file?  At 300dpi there is no real issue with jaggy 
edges - is it just a judgement call that a conversion to grey scale is 
likely to give the best result for most situations and the file size is 
a secondary consideration?

Thanks,

Phil.
-- 
Philip Rhoades

GPO Box 3411
Sydney NSW  2001
Australia
E-mail:  p...@pricom.com.au
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Rotate increases PNG size x10 ! - next Q

2010-06-25 Thread Branko Vukelic
On Fri, Jun 25, 2010 at 4:45 PM, Philip Rhoades p...@pricom.com.au wrote:
 OK, so now the next question is:  If the original is recognised by
 identify as a 1 bit per pixel image, why doesn't Gimp keep it that way
 when opening the file?  At 300dpi there is no real issue with jaggy
 edges - is it just a judgement call that a conversion to grey scale is
 likely to give the best result for most situations and the file size is
 a secondary consideration?

If the image was produced as 1bpp to begin with, I don't think
converting to Greyscale will help a lot. Maybe with rotation, but
otherwise, there should be little advantage.

-- 
Branko Vukelić

bg.bra...@gmail.com
stu...@brankovukelic.com

Check out my blog: http://www.brankovukelic.com/
Check out my portfolio: http://www.flickr.com/photos/foxbunny/
Registered Linux user #438078 (http://counter.li.org/)
I hang out on identi.ca: http://identi.ca/foxbunny

Gimp Brushmakers Guild
http://bit.ly/gbg-group
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Rotate increases PNG size x10 ! - next Q

2010-06-25 Thread Philip Rhoades
Branko,


On 2010-06-26 00:54, Branko Vukelic wrote:
 On Fri, Jun 25, 2010 at 4:45 PM, Philip Rhoadesp...@pricom.com.au  wrote:
 OK, so now the next question is:  If the original is recognised by
 identify as a 1 bit per pixel image, why doesn't Gimp keep it that way
 when opening the file?  At 300dpi there is no real issue with jaggy
 edges - is it just a judgement call that a conversion to grey scale is
 likely to give the best result for most situations and the file size is
 a secondary consideration?

 If the image was produced as 1bpp to begin with, I don't think
 converting to Greyscale will help a lot. Maybe with rotation, but
 otherwise, there should be little advantage.


The question was - why does Gimp make the change automatically? - it 
shouldn't in my view.

Thanks,

Phil.
-- 
Philip Rhoades

GPO Box 3411
Sydney NSW  2001
Australia
E-mail:  p...@pricom.com.au
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Rotate increases PNG size x10 !

2010-06-24 Thread Claus Cyrny

Chris Mohler wrote:

On Wed, Jun 23, 2010 at 5:30 PM, Leon Brooks
leon-g...@cyberknights.com.au wrote:
  

If the image is text or something else essentially
monochrome



Or image-mode, bitmap, 1-bit palette should drastically reduce the
file size.  I suspect that the 'line art' setting in xsane is
producing a grayscale image but with each pixel either solid black or
solid white, which would make the resulting PNG easy to compress.


The downside would be that the text is jaggy. If it's just black or gray
text on a white background, I would convert the image to indexed,
with, say 32 colors. For text, this should be enough. My guess is that
the large file is in RGB--thus the big file size.

Claus

P.S.: Is it true that future Gimp versions won't have an indexed
mode anymore?

--
Webdesign + Grafik + Fotografie http://home.arcor.de/ccyrny/ | Flickr 
http://www.flickr.com/photos/claus_01/ | artificial 1.0: visual arts 
blog http://artificial10.wordpress.com/
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Rotate increases PNG size x10 !

2010-06-24 Thread Chris Mohler
On Thu, Jun 24, 2010 at 6:16 AM, Philip Rhoades p...@pricom.com.au wrote:
 Confirmation of what is going on from the gurus would be appreciated!

It was as I guessed - the scans are in grayscale mode but the contents
are essentially a 1-bit image.

Open a scan, do image-mode-bitmap, choose 1-bit palette.  Then
rotate and save - the file size will be comparable to the original.

Your image has that fine dot pattern all over the place - that's what
(I think) is causing the huge size blowup when rotated.  Open a scan,
zoom to 100% or greater and look at the character of those small dots.
  If you rotate the image in grayscale mode, look at the dots again at
100% or greater - they are now quite blurry.  Where each dot was n
pixels of solid black, now each dot is something like n+5 pixels of
shades of gray, which makes the image harder to compress efficiently.

On the file increase when just saving - see here:
$ identify TestScanningDoc.png
TestScanningDoc.png PNG 2552x3523 2552x3523+0+0 PseudoClass 2c 8-bit
230.383kb 0.740u 0:02

$ identify TestScanningDoc_nochange.png
TestScanningDoc_nochange.png PNG 2552x3523 2552x3523+0+0 PseudoClass
256c 8-bit 366.076kb 0.870u 0:02

It appears the original has a 2-color palette, while the unchanged,
saved image has a 256-color palette.

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


Re: [Gimp-user] Rotate increases PNG size x10 ! - resending

2010-06-24 Thread Philip Rhoades
People,

I am resending this - the firsts attempt with the attachment didn't make 
it apparently . . I can provide it if anyone is interested . .


On 2010-06-24 10:08, Chris Mohler wrote:
 On Wed, Jun 23, 2010 at 5:30 PM, Leon Brooks
 leon-g...@cyberknights.com.au  wrote:
 If the image is text or something else essentially
 monochrome

 Or image-mode, bitmap, 1-bit palette should drastically reduce the
 file size.  I suspect that the 'line art' setting in xsane is
 producing a grayscale image but with each pixel either solid black or
 solid white, which would make the resulting PNG easy to compress.
 Rotating likely causes many pixels to become shades of gray along the
 edges and increasing the file size.

 My scanner is dead or I'd test this out myself.

 Not sure on the increase when saving the image as-is - are all of the
 'Save Comment', 'Save Creation', etc. boxes unchecked in the PNG save
 dialog?


I produced a test PNG which resembles my actual pages and confirm my 
previous results - original file attached (it was deliberately scanned 
not square):

235,913 TestScanningDoc.png
3,184,862   TestScanningDoc_-1.0Rotate.png
374,903 TestScanningDoc_NoChange.png

I used the Gimp defaults when saving the files - compression was set at 
the max of 9.

Confirmation of what is going on from the gurus would be appreciated!

BTW, I got around the real world problem by rescanning my actual pages 
(which were themselves photocopies and NOT squarely produced) by 
manually rotating the pages on the scanner so the pictures ended up 
being square in my PNG and not needing rotation in Gimp (although other, 
minor editing was still necessary).

Regards,

Phil.
-- 
Philip Rhoades

GPO Box 3411
Sydney NSW  2001
Australia
E-mail:  p...@pricom.com.au

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


Re: [Gimp-user] Rotate increases PNG size x10 !

2010-06-24 Thread Philip Rhoades
Chris,


On 2010-06-25 02:54, Chris Mohler wrote:
 On Thu, Jun 24, 2010 at 6:16 AM, Philip Rhoadesp...@pricom.com.au  wrote:
 Confirmation of what is going on from the gurus would be appreciated!

 It was as I guessed - the scans are in grayscale mode but the contents
 are essentially a 1-bit image.

 Open a scan, do image-mode-bitmap, choose 1-bit palette.  Then
 rotate and save - the file size will be comparable to the original.

 Your image has that fine dot pattern all over the place - that's what
 (I think) is causing the huge size blowup when rotated.  Open a scan,
 zoom to 100% or greater and look at the character of those small dots.
If you rotate the image in grayscale mode, look at the dots again at
 100% or greater - they are now quite blurry.  Where each dot was n
 pixels of solid black, now each dot is something like n+5 pixels of
 shades of gray, which makes the image harder to compress efficiently.

 On the file increase when just saving - see here:
 $ identify TestScanningDoc.png
 TestScanningDoc.png PNG 2552x3523 2552x3523+0+0 PseudoClass 2c 8-bit
 230.383kb 0.740u 0:02

 $ identify TestScanningDoc_nochange.png
 TestScanningDoc_nochange.png PNG 2552x3523 2552x3523+0+0 PseudoClass
 256c 8-bit 366.076kb 0.870u 0:02

 It appears the original has a 2-color palette, while the unchanged,
 saved image has a 256-color palette.


I resent my second mail (without the attachment) before reading your 
response - sorry about that . .

Many thanks for the explanations - I appreciate it.

Regards,

Phil.
-- 
Philip Rhoades

GPO Box 3411
Sydney NSW  2001
Australia
E-mail:  p...@pricom.com.au
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


[Gimp-user] Rotate increases PNG size x10 !

2010-06-23 Thread Philip Rhoades
People,

I used:

xsane-0.997-3.fc12.x86_64

to scan an A4 page at 300dpi in LineArt mode and got a file of:

325,668 t_xsane.png

I then edited it using:

gimp-2.6.8-1.fc12.x86_64

rotating the image by -0.7 and cropping slightly - the resulting image 
was 10 times the size!:

3,368,891   t_xsane_-0.7.png

As another test I simply opened the original file and saved it with a 
new name - this gave about a 33% increase in size:

478,305 t_xsane_nochange.png

What is going on with these size increases?

Thanks,

Phil.
-- 
Philip Rhoades

GPO Box 3411
Sydney NSW  2001
Australia
E-mail:  p...@pricom.com.au
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Rotate increases PNG size x10 !

2010-06-23 Thread Branko Vukelic
On Wed, Jun 23, 2010 at 8:07 PM, Philip Rhoades p...@pricom.com.au wrote:
 What is going on with these size increases?

It may be that after rotation, pixels that were otherwise the same
color got anti-aliased and were slightly different color. This would
increase the image size. Can you show us the original scan?

Regards,

-- 
Branko Vukelić

bg.bra...@gmail.com
stu...@brankovukelic.com

Check out my blog: http://www.brankovukelic.com/
Check out my portfolio: http://www.flickr.com/photos/foxbunny/
Registered Linux user #438078 (http://counter.li.org/)
I hang out on identi.ca: http://identi.ca/foxbunny

Gimp Brushmakers Guild
http://bit.ly/gbg-group
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Rotate increases PNG size x10 !

2010-06-23 Thread Leon Brooks
On Thu, 24 Jun 2010 06:04:57 am Branko Vukelic wrote:
 On Wed, Jun 23, Philip Rhoades wrote:
 What is going on with these size increases?
 
 It may be that after rotation, pixels that were
 otherwise the same color got anti-aliased and were
 slightly different color. This would increase the
 image size.

Branco, that may account for the increased size of a
_rotated_ image, but Phil also increased the size simply
during a re-save of an unchanged image.

Phil, I suspect that when re-saving that image, you may
wish to check the Advanced Settings popup to ensure that
the PNG compression ratio is set to maximum at the time.

WRT the rotated image, it wouldn't so much be anti-
aliasing as that the rotation is unlikely to be precisely
right-angled, so pixels along edges would be partially
coloured, which would make the PNG compression process
less efficient.

If the image is text or something else essentially
monochrome, Phil might try desaturating, then (regardless
of desat) Auto/Stretch Contrast. This should minimise
colour-gradient effects somewhat, so provide for more
effective compression.

If minute details are not so important, saving as JPeG
will reduce the size massively without serious loss of
visual quality. Loss of quality can be adjusted to a
reasonable compromise level within the JPeG settings
during SaveAs.

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


Re: [Gimp-user] Rotate increases PNG size x10 !

2010-06-23 Thread Chris Mohler
On Wed, Jun 23, 2010 at 5:30 PM, Leon Brooks
leon-g...@cyberknights.com.au wrote:
 If the image is text or something else essentially
 monochrome

Or image-mode, bitmap, 1-bit palette should drastically reduce the
file size.  I suspect that the 'line art' setting in xsane is
producing a grayscale image but with each pixel either solid black or
solid white, which would make the resulting PNG easy to compress.
Rotating likely causes many pixels to become shades of gray along the
edges and increasing the file size.

My scanner is dead or I'd test this out myself.

Not sure on the increase when saving the image as-is - are all of the
'Save Comment', 'Save Creation', etc. boxes unchecked in the PNG save
dialog?

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


[Gimp-user] Rotate selection without content?

2010-04-20 Thread Philip U.
Both rotate and move tools have an option to apply on the selection; maybe
other tools have it, too. 
 Thomas J. Hart 





From: Akkana Peck akk...@shallowsky.com
To: gimp-user@lists.XCF.Berkeley.EDU
Sent: Sun, April 18, 2010 1:14:20 PM
Subject: Re: [Gimp-user] Rotate selection without content?

Philip U. writes:
 Is there no way to do this? I want to use an elliptical selection, but at
an
 angle. 

Use the Transform selection button in the tool options for the
Rotate tool. Described here:
http://docs.gimp.org/2.6/en/gimp-tools-transform.html#gimp-tool-transform

...Akkana


-- 
Philip U. (via www.gimpusers.com)

Thanks to all. The selection button is the key. Can you tell I'm still in the
early stages of post-Photoshop use?
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


[Gimp-user] Rotate selection without content?

2010-04-18 Thread Philip U.
Is there no way to do this? I want to use an elliptical selection, but at an
angle. 

-- 
Philip U. (via www.gimpusers.com)
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Rotate selection without content?

2010-04-18 Thread Akkana Peck
Philip U. writes:
 Is there no way to do this? I want to use an elliptical selection, but at an
 angle. 

Use the Transform selection button in the tool options for the
Rotate tool. Described here:
http://docs.gimp.org/2.6/en/gimp-tools-transform.html#gimp-tool-transform

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


[Gimp-user] Rotate selection without content?

2010-04-18 Thread rich
Is there no way to do this? I want to use an elliptical selection, but at an
angle. 

Looks like the rotate tool does not work on an empty selection.

A bit of a work-around would be.
make a new transparent layer an on this layer
make the ellipse
fill the ellipse with colour
select none
rotate and move to position
reselect by colour.

now delete the new layer leaving the selection.

a few screen shots here
http://www.imageno.com/wpbshttvx8blpic.html

The snag is obvious, the size/shape of the ellipse is not determined at the
final location.


-- 
rich (via www.gimpusers.com)
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Rotate selection without content?

2010-04-18 Thread Chris Mohler
On Sun, Apr 18, 2010 at 1:51 PM, rich for...@gimpusers.com wrote:
Is there no way to do this? I want to use an elliptical selection, but at an
angle.

 Looks like the rotate tool does not work on an empty selection.

You need to check the 'Selection' button next to 'Transform' in the
Rotate Tool's options, as Akkana pointed out.  Then you are rotating
the selection itself and not the contents.

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


Re: [Gimp-user] Rotate selection without content?

2010-04-18 Thread Thomas Hart
Both rotate and move tools have an option to apply on the selection; maybe 
other tools have it, too. 
 Thomas J. Hart 





From: Akkana Peck akk...@shallowsky.com
To: gimp-user@lists.XCF.Berkeley.EDU
Sent: Sun, April 18, 2010 1:14:20 PM
Subject: Re: [Gimp-user] Rotate selection without content?

Philip U. writes:
 Is there no way to do this? I want to use an elliptical selection, but at an
 angle. 

Use the Transform selection button in the tool options for the
Rotate tool. Described here:
http://docs.gimp.org/2.6/en/gimp-tools-transform.html#gimp-tool-transform

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


Re: [Gimp-user] rotate

2008-08-05 Thread Michael J. Hammel
On Wed, 2008-08-06 at 01:53 +0200, Zoltan Tibenszky wrote:
 I have to put some text on a picture. Some text have to be vertical. I 
 have created the text with the text tool, and I have rotated it to make 
 it vertical. The problem was that the sides of the text become 
 transparent and just the middle of the text has reserved its original 
 colour.
 How could I avoid this transparent issue?
 Is there any simpler way to create a non-horizontal text?

Sounds like your rotated text is now taller than the canvas.  If so, try
Image-Fit Canvas to Layers and then add a new layer the same color as
the background and move the new layer to the bottom of the layer stack.
-- 
Michael J. Hammel   Ximba End User Software
[EMAIL PROTECTED]  http://www.ximba.org
LFS UserID: 16857
--
Approach love and cooking with reckless abandon.  
  --  Credited to the Dalai Lama.

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


Re: [Gimp-user] rotate

2008-08-05 Thread Burnie West
Zoltan Tibenszky wrote:
 Hi everybody!

 I am new on this mailing list, and I have just get basic knowledge about 
 GIMP.
 I have got the following issue:
 I have to put some text on a picture. Some text have to be vertical. I 
 have created the text with the text tool, and I have rotated it to make 
 it vertical. The problem was that the sides of the text become 
 transparent and just the middle of the text has reserved its original 
 colour.
 How could I avoid this transparent issue?
 Is there any simpler way to create a non-horizontal text?
Hi, Zoltan -

When you created the text, it was created in a text layer whose size was 
defined by the text itself.

Then you used the selection tool to select the text within that text 
layer, and rotated the selected text.  But you didn't rotate the layer 
itself, just the text. Then, when you deselected the text, the part of 
it that was outside the original boundaries was made transparent.

What you do is to create the text, then immediately click on the rotate 
tool.  This will automatically use the tool to rotate the layer itself, 
rather than to rotate a selected portion of the image within the layer. 
This is actually easier than the process you used, and you have now 
learned something interesting about GIMP's way of creating extra layers 
to manipulate.

Good luck and have fun.

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


[Gimp-user] Rotate tool and layers

2007-12-13 Thread Rolf Steinort
Hi,

is it possible to rotate a stack of layers with the rotate tool?

I found no option (2.4.2) and ended in typing in the value for each
layer. 


Rolf

http://meetthegimp.org

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


Re: [Gimp-user] Rotate tool and layers

2007-12-13 Thread Elwin Estle
In the layers dialog, to the right of the eye icon to turn the layer on and 
off, is a
second icon that looks like a chain link.  Click it for all layers you want to
rotate/transform as a group.  When they are linked together, whatever you do to 
one, as
far as rotating,  you will do to all of them.


--- Rolf Steinort [EMAIL PROTECTED] wrote:

 Hi,
 
 is it possible to rotate a stack of layers with the rotate tool?
 
 I found no option (2.4.2) and ended in typing in the value for each
 layer. 
 
 
 Rolf
 
 http://meetthegimp.org
 
 ___
 Gimp-user mailing list
 Gimp-user@lists.XCF.Berkeley.EDU
 https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
 



  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] rotate + crop - 1 action?

2007-09-19 Thread B.W.H. van Beest

Sven Neumann wrote:

Hi,

On Tue, 2007-09-18 at 07:55 +0200, B.W.H. van Beest wrote:

  
When I rotate an image using GIMP a few degrees, to correct that I 
didn't hold my camera horizontal, the next step is to crop the rotated 
image such that it appears upright again.
I realise that it must be possible to do the two actions all in one go, 
as  the rotation angle  fully determines the (max)  area to which the 
picture can be cropped. Is this implemented somewhere in a script, or is 
this functionality available via other means?



It is supposed to be in GIMP 2.4. There is however still a bug in the
implementation and if no one manages to fix it in time, we might have to
back this new feature out.


Sven




  
I see, do you mean there is no one involved with fixing this, and that 
you are just hoping that somebody is going to do it?


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


Re: [Gimp-user] rotate + crop - 1 action?

2007-09-19 Thread Sven Neumann
Hi,

On Wed, 2007-09-19 at 08:53 +0200, B.W.H. van Beest wrote:

 I see, do you mean there is no one involved with fixing this, and that
 you are just hoping that somebody is going to do it? 

The respective bug report is on the 2.4 milestone but so far no one
appears to be working on a fix:

 http://bugzilla.gnome.org/show_bug.cgi?id=472644


Sven


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


Re: [Gimp-user] rotate + crop - 1 action?

2007-09-18 Thread Sven Neumann
Hi,

On Tue, 2007-09-18 at 07:55 +0200, B.W.H. van Beest wrote:

 When I rotate an image using GIMP a few degrees, to correct that I 
 didn't hold my camera horizontal, the next step is to crop the rotated 
 image such that it appears upright again.
 I realise that it must be possible to do the two actions all in one go, 
 as  the rotation angle  fully determines the (max)  area to which the 
 picture can be cropped. Is this implemented somewhere in a script, or is 
 this functionality available via other means?

It is supposed to be in GIMP 2.4. There is however still a bug in the
implementation and if no one manages to fix it in time, we might have to
back this new feature out.


Sven


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


Re: [Gimp-user] rotate + crop - 1 action?

2007-09-18 Thread vt
On Tuesday 18 September 2007, B.W.H. van Beest wrote:
 Dear GIMP people,

 When I rotate an image using GIMP a few degrees, to correct that I
 didn't hold my camera horizontal, the next step is to crop the rotated
 image such that it appears upright again.
 I realise that it must be possible to do the two actions all in one go,
 as  the rotation angle  fully determines the (max)  area to which the
 picture can be cropped. Is this implemented somewhere in a script, or is
 this functionality available via other means?

 Regards,
 Bertwim

Watch this tutorial:
http://meetthegimp.podspot.de/files/meetthegimp001.mp4

It is told how to do it step by step. No automatic action though. I believe 
story about rotating and cropping begins in minute 2 or so.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


[Gimp-user] rotate + crop - 1 action?

2007-09-17 Thread B.W.H. van Beest
Dear GIMP people,

When I rotate an image using GIMP a few degrees, to correct that I 
didn't hold my camera horizontal, the next step is to crop the rotated 
image such that it appears upright again.
I realise that it must be possible to do the two actions all in one go, 
as  the rotation angle  fully determines the (max)  area to which the 
picture can be cropped. Is this implemented somewhere in a script, or is 
this functionality available via other means?

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


Re: [Gimp-user] Rotate brushes?

2007-05-01 Thread Renan Birck
Em Seg, 2007-04-30 às 23:12 -0300, Joao S. O. Bueno Calligaris escreveu:
 
 No, this feature is not implemented. Sorry. 
 
 It can be more o r less worked around with scripts for the time
 being. 

I see. Would it be possible to implement this feature on the development
version?

Thanks!

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


Re: [Gimp-user] Rotate brushes?

2007-05-01 Thread Joao S. O. Bueno Calligaris
On Tuesday 01 May 2007 14:57, Renan Birck wrote:
 Em Seg, 2007-04-30 às 23:12 -0300, Joao S. O. Bueno Calligaris 
escreveu:
  No, this feature is not implemented. Sorry.
 
  It can be more o r less worked around with scripts for the time
  being.

 I see. Would it be possible to implement this feature on the
 development version?


Hardly - we are on the proccess of getting gimp 2.4 done, and very few 
new features should be added now (if any, however small it is)
On the next development cycle, I'd say yes..at least it is something 
I'd like to have.

  js
  --


 Thanks!

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


Re: [Gimp-user] Rotate brushes?

2007-04-30 Thread Joao S. O. Bueno Calligaris
On Monday 30 April 2007 17:18, Renan Birck wrote:
 Hello,

 In GIMP 2.3 from SVN the feature to scale brushes was added.

 However, I would like to know if is there some way to rotate/flip
 brushes. I haven't seen it, but I could be missing something.

 Any ideas?
No, this feature is not implemented. Sorry. 

It can be more o r less worked around with scripts for the time being.

js
--

 This is GIMP 2.3 updated daily from SVN, on Ubuntu 7.04.

 Thanks!



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


[Gimp-user] rotate a pic

2004-04-05 Thread Gracia M. Littauer
I want to rotate a pic about 20 degrees.

I can easily do this in PhotoShop...but of course I end up with a larger 
pic  the white triangles that square off the pic. How do I rotate pic 
in gimp  end up without the pic cut off. 

-- 
Gracia...living in Cooleemee, NC
Registered Linux user #263390 - SuSE 9 Pro
Linux is like a teepee; no Windows, no Gates

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] rotate a pic

2004-04-05 Thread Jean-Luc Coulon (f5ibh)
Le 05.04.2004 22:02, Gracia M. Littauer a écrit :
I want to rotate a pic about 20 degrees.

I can easily do this in PhotoShop...but of course I end up with a
larger
pic  the white triangles that square off the pic. How do I rotate pic
in gimp  end up without the pic cut off.
Resize the cancas before rotating the picture.

--
Regards
- Jean-Luc
--
Gracia...living in Cooleemee, NC
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] rotate a pic

2004-04-05 Thread Sven Neumann
Hi,

Jean-Luc Coulon (f5ibh) [EMAIL PROTECTED] writes:

 Le 05.04.2004 22:02, Gracia M. Littauer a écrit :
 I want to rotate a pic about 20 degrees.
 
 I can easily do this in PhotoShop...but of course I end up with a
 larger
 pic  the white triangles that square off the pic. How do I rotate pic
 in gimp  end up without the pic cut off.
 
 Resize the cancas before rotating the picture.

Or after rotating the picture. Actually that's simpler since you can
use the crop tool, select the size of rotated layer and crop/resize.


Sven

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] rotate a pic

2004-04-05 Thread Sven Neumann
Hi,

David Neary [EMAIL PROTECTED] writes:

 Use the rotate tool (part of the transform tool in 1.2.x) and set
 your rotation to 20 degrees. In the tool options make sure that
 Clip result is unchecked (which it is by default) and you will
 get a new, rotated layer with the extra bits being filled by
 transparency.
 
 However, the image doesn't get resized, only the active layer (or
 selection, or path). To resize the image you must use the crop
 tool in resize mode, or Image-Canvas size.

Actually, we should probably add a way to rotate the whole image by
arbitrary angle and have it expand just like a layer (unless Clip
Result is checked). This could be an option in the Image-Rotate menu
or it could be a new mode of the transform tools (next to Layer,
Selection, Path). Or both.


Sven

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] rotate image script-fu

2002-06-18 Thread Joel

 would you can send me the script? I am very interested about using GIMP to
 make/process animations, so a script that gets all the imagens in a
 directory, and apply some kind of transformation in them would be very
 useful for me. And I am still a Script-fu beginner :)

 thank you,
 andrei

Now *that* is a noble cause. ;-)

I'm not really all that crazy about Scheme (Gimp's built-in scripting 
language), so I don't write with it. I really, really like Python, though, 
and there are Python bindings for the Gimp. You can download them at  
http://www.daa.com.au/~james/pygimp/

Use the documentation there, plus the PDB browser, to figure out everything 
you can do. In the meantime, here's a quick little script I whipped up to 
rotate a series of images in a directory. To avoid writing something that 
would be trivial to do with convert, I've put in a little twist... The 
first image is slightly rotated, the second a little bit more, and so on, 
until the last image, which goes to the user-specified rotation.

Enjoy!

--Joel


rotate.py -

#!/usr/bin/env python
#
# rotate.py
#
# animate rotating all images in a directory; The first image gets rotated
# very little, progressing to the final image, which gets rotated by 
# a user-specified degree.
#
# Copyright 2002, Joel Hatch
# Licensed under the GNU GPL
# 18 June 2002

from gimpfu import *
import math, os, traceback

Error = Error

def rotateImages(directory, degrees):
   Rotate images in a directory

   # Make sure the directory is valid
   path = os.path.normpath(directory)
   if not os.path.isdir(path):
  raise Error, Directory %s not found % path

   # Get and sort a list of files in the directory
   oldDir = os.getcwd()
   os.chdir(path)
   files = os.listdir(path)
   files.sort()

   # figure out how far to rotate each image; we are going to get a
   # group of images, and rotate each image further until the last image
   # is the full rotation. (convert to radians)
   standardRotation = (float(degrees) * math.pi) / (len(files) * 180)
   currentRotation  = 0
   
   for file in files:
  try:
 # load the image
 graphicFile = pdb.gimp_file_load(file, file) 

 # add an alpha channnel to the bottom layer, so the background 
 # will be transparent
 pdb.gimp_layer_add_alpha(graphicFile.layers[0])

 # calculate how big the containing box will need to be
 # (our picture is a rectangle, inside a circle (the rotation), 
 # inside a square (the containing box size). The width and
 # height of the containing box are the same as the diameter of
 # the circle, which can be found from the rectangle with d^2=w^2+h^2
 size = math.sqrt(graphicFile.width**2 + graphicFile.height**2)

 # calculate the top left position of our image inside the
 # containing box
 top  = (size - graphicFile.height)/2
 left = (size - graphicFile.width)/2

 # resize the image to the containing box
 pdb.gimp_image_resize(graphicFile, size, size, left, top)

 # rotate every layer in the image
 currentRotation = currentRotation - standardRotation
 for layer in graphicFile.layers:
pdb.gimp_rotate(layer, FALSE, currentRotation)
left, top = layer.offsets
pdb.gimp_layer_resize(layer, size, size, left, top)

 # save and close the file
 if len(graphicFile.layers)  1:
finalLayer = pdb.gimp_image_merge_visible_layers(graphicFile, 
CLIP_TO_IMAGE)
 else:
finalLayer = graphicFile.layers[0]
 finalName = n_%s.png % os.path.splitext(file)[0]
 pdb.file_png_save(graphicFile, finalLayer, finalName, finalName, \
FALSE, 6, TRUE, TRUE, TRUE, TRUE, TRUE)
 pdb.gimp_image_delete(graphicFile)
# If you want to display the image, instead of closing it, comment the
# above line, and un-comment the line below
# pdb.gimp_display_new(graphicFile)

  except:
 traceback.print_exc()
  
   # change back to the default directory
   os.chdir(oldDir)



register(
   python_fu_rotate,
   Rotate all images in a directory,
   ,
   Joel Hatch,
   ,
   16 June 2002,
   Toolbox/Xtns/Python-Fu/Animation/Rotate,
   RGB*, GRAY*,
   [  
  (PF_STRING, Directory,  Directory containing files to rotate, ),
  (PF_INT,degrees,Degrees to rotate the final image, )
   ],
   [],
   rotateImages)


main()

--

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] Rotate

2001-04-09 Thread Nigel

Using the measure tool to determine the angle followed by the transform tool
is another way to do this.


Nigel


 the photo is crooked.  I want to align the photo so it is streight.  I
found
 that using guidelines helps alot, so I can get this perfect.  How can I
use
 the rotate tool, combined with guidelines, to achieve this?



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



[Gimp-user] Rotate

2001-04-07 Thread Rick Rosinski

Am I missing something, or is GIMP really limited in the ability to rotate an 
image?  I nice that it is only limited "right angle", 180, 360, etc.  I have 
been saving temp images to disk and using ImageMagick's Display to do the 
rotating, then opening the edited file back into GIMP for further processing 
- and I am doing this with jpegs - which means that RGB data is changed each 
time I save the file.


-- 
Rick Rosinski
http://rickrosinski.com
[EMAIL PROTECTED]
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] Rotate

2001-04-07 Thread Nigel

Double click on the trnsform tool.


Nigel


- Original Message -
From: "Rick Rosinski" [EMAIL PROTECTED]
To: "Gimp User Group" [EMAIL PROTECTED]
Sent: Saturday, April 07, 2001 2:04 PM
Subject: [Gimp-user] Rotate


 Am I missing something, or is GIMP really limited in the ability to rotate
an
 image?  I nice that it is only limited "right angle", 180, 360, etc.  I
have
 been saving temp images to disk and using ImageMagick's Display to do the
 rotating, then opening the edited file back into GIMP for further
processing
 - and I am doing this with jpegs - which means that RGB data is changed
each
 time I save the file.


 --
 Rick Rosinski
 http://rickrosinski.com
 [EMAIL PROTECTED]
 ___
 Gimp-user mailing list
 [EMAIL PROTECTED]
 http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] Rotate

2001-04-07 Thread Rick Rosinski

Found it!
I see that I can use a grid and spin it around.  This works great!
Now, is there a way to align the rotation to a guideline?
For example, I open up a scanned photo and the photo is on a white page, but 
the photo is crooked.  I want to align the photo so it is streight.  I found 
that using guidelines helps alot, so I can get this perfect.  How can I use 
the rotate tool, combined with guidelines, to achieve this?

Thanks alot!




On Saturday 07 April 2001 09:59, you wrote:
 Hi,

  Am I missing something, or is GIMP really limited in the ability to

 rotate an

  image?  I nice that it is only limited "right angle", 180, 360,

 etc..

 Look for the "Transform Tool", I think it's no. 10 in the toolbox.

 Hago

-- 
Rick Rosinski
http://rickrosinski.com
[EMAIL PROTECTED]
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



[Gimp-user] Rotate

2001-04-07 Thread Kelly Martin

On Sat, 7 Apr 2001 02:04:17 +, Rick Rosinski [EMAIL PROTECTED] said:

Am I missing something, or is GIMP really limited in the ability to
rotate an image?  I nice that it is only limited "right angle", 180,
360, etc.  I have been saving temp images to disk and using
ImageMagick's Display to do the rotating, then opening the edited
file back into GIMP for further processing - and I am doing this with
jpegs - which means that RGB data is changed each time I save the
file.

You can do arbitrary rotations with the transform tool.

Kelly
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] Rotate

2001-04-07 Thread Kelly Martin

On Sat, 7 Apr 2001 04:30:46 +, Rick Rosinski [EMAIL PROTECTED] said:

Found it!  I see that I can use a grid and spin it around.  This
works great!  Now, is there a way to align the rotation to a
guideline?  For example, I open up a scanned photo and the photo is
on a white page, but the photo is crooked.  I want to align the photo
so it is streight.  I found that using guidelines helps alot, so I
can get this perfect.  How can I use the rotate tool, combined with
guidelines, to achieve this?

In the Tool Options dialog, set the Tool Paradigm to Corrective.  Then
line up the grid with the guide.

Kelly
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user