Re: [Gimp-user] How to rotate part of an image without getting white triangles at the corners ?

2009-04-02 Thread Jay Smith
David,

Thanks for the bug number.

Regarding the float method, I beg to differ.  Unless I am missing
something, what we are doing for Floating before rotating is ...

  get selection tool  (must be done anyway)
  draw selection  (must be done anyway)
  Ctrl-Shift-L(the only additional work)
  get rotation tool   (must be done anyway)
  do rotation (must be done anyway)
  get selection tool  (must be done anyway)
  click to anchor floating selection   (must be done anyway)

Just one simple step per rotation.  Ctrl-Shift-L.
   No adding alpha channel
   No adding layer
   No moving layer to bottom
   No flattening layers

You asked about quantity: 50,000 scans, each scan of which contain from
one to 20 stamp images, some of which will end up as single-stamp images
and others of which will end up as multi-stamp images.  So 50,000 of the
add-layer method.  Probably up to 150,000 (?? maybe more) rotations, but
still I think the ctrl-shift-l is a lot faster.

Thanks very much for your help!

Jay

On 04/01/2009 09:03 PM, David Gowers wrote:
 Hi Jay,
 
 On Thu, Apr 2, 2009 at 12:58 AM, Jay Smith j...@jaysmith.com wrote:
 Hi David,

 If convenient, please advise me of the bug number on this so that I can
 track it.  Thank you very much.
 
 http://bugzilla.gnome.org/show_bug.cgi?id=577575
 
 Related to the bug, I hope you also noted the problem that there is no
 Preferences option of using black as the default for newly created images.

 You said...
 BTW, floating before rotating is NOT how I would do this.
 Please share your reasons why you would not do that.
 Because it's far far far far far far slower and more laborious than
 the method I went on to describe. There is no comparison.
 
 (All the other mucking around [alpha channel, add layer, etc.] may seem
 simple to Gimpers, but please do it 10,000 times and then tell me how
 you feel about it -- We have so far scanned  edited over 50,000 such
 images in Photoshop and have more than double that number yet to go.)
 50,000 images? or 50,000 stamps?
 The procedure I described would only need to be done once for each
 image, not for each stamp-rotation. It is far more streamlined, if you
 typically rotate several stamps out of every single image that you
 open.
 
 David


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


Re: [Gimp-user] How to rotate part of an image without getting white triangles at the corners ?

2009-04-01 Thread norman
Whilst yo are processing may I suggest that you save as .xcf and only
save to .jpg when you have finished.

Norman

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


Re: [Gimp-user] How to rotate part of an image without getting white triangles at the corners ?

2009-04-01 Thread David Gowers
Hello,

On Wed, Apr 1, 2009 at 5:20 PM, Andrew a...@arrakis.es wrote:
 Jay Smith wrote:
 What am I missing?

 Maybe a step by step. I've just tried it again and it works with a
 minimum of mousing (I'm using gimp 2.6.4).

 1. Add alpha channel to initial layer.
 2. Add new black layer and move it underneath. (After this step make
 sure you change the active layer to the top one).
 3. Draw a rectangle around the crooked stamp.
 4. Rotate.
 5. Anchor rotated selection.

Thanks, I forgot this
 (Repeat 3-5 as necessary. I haven't tried with more than one 'stamp' but
 I don't think it makes much difference)
 6. Flatten image.
This step isn't needed, unless you are saving the same file with
several different names/versions and want to avoid being prompted.

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


Re: [Gimp-user] How to rotate part of an image without getting white triangles at the corners ?

2009-04-01 Thread Jay Smith
Hi David,

If convenient, please advise me of the bug number on this so that I can
track it.  Thank you very much.

Related to the bug, I hope you also noted the problem that there is no
Preferences option of using black as the default for newly created images.

You said...
 BTW, floating before rotating is NOT how I would do this.

Please share your reasons why you would not do that.  It seems perfectly
logical now that I know it is possible, and it seems to be _exactly_ the
method/result I wanted without all the other mucking around.

(All the other mucking around [alpha channel, add layer, etc.] may seem
simple to Gimpers, but please do it 10,000 times and then tell me how
you feel about it -- We have so far scanned  edited over 50,000 such
images in Photoshop and have more than double that number yet to go.)

I _really_ appreciate your mention of Select...Float -- that is exactly
the needed answer IMHO.

Jay



On 04/01/2009 12:07 AM, David Gowers wrote:
 Hi Jay,
 
snip
 
 I can confirm this -- except that I always get black, rather than
 always getting white.
 I've just filed a bug report for it.
 In the meantime, you should be able to work around this by floating
 the area (select-Float) before rotating.
 No complex procedures are required, nor any particular redundancy.
 
 This should be pretty easy to fix -- pretty high chances of seeing it
 in the next 2.6.x release.
 
 BTW, floating before rotating is NOT how I would do this. Instead, I would
 
snip
 
 Hope this helps!
 
 David

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


Re: [Gimp-user] How to rotate part of an image without getting white triangles at the corners ?

2009-04-01 Thread David Gowers
Hi Jay,

On Thu, Apr 2, 2009 at 12:58 AM, Jay Smith j...@jaysmith.com wrote:
 Hi David,

 If convenient, please advise me of the bug number on this so that I can
 track it.  Thank you very much.

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


 Related to the bug, I hope you also noted the problem that there is no
 Preferences option of using black as the default for newly created images.

 You said...
 BTW, floating before rotating is NOT how I would do this.

 Please share your reasons why you would not do that.
Because it's far far far far far far slower and more laborious than
the method I went on to describe. There is no comparison.

 (All the other mucking around [alpha channel, add layer, etc.] may seem
 simple to Gimpers, but please do it 10,000 times and then tell me how
 you feel about it -- We have so far scanned  edited over 50,000 such
 images in Photoshop and have more than double that number yet to go.)
50,000 images? or 50,000 stamps?
The procedure I described would only need to be done once for each
image, not for each stamp-rotation. It is far more streamlined, if you
typically rotate several stamps out of every single image that you
open.

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


[Gimp-user] How to rotate part of an image without getting white triangles at the corners ?

2009-03-31 Thread Jay Smith
Using Gimp 2.6.6 on Ubuntu 8.04 (Hardy) Linux.

We are testing using Gimp to replace Photoshop on Windoze.  However, we
are hitting one problem/feature we have not been able to resolve.

We scan images of postage stamps (using xsane from inside gimp). There
are multiple postage stamps are on a black background.  Some of them are
a little crooked and need to be rotated.

We CAN rotate them as desired, but are ending up with unwanted white
triangles at the corners.

We have set the background color to black (and tried changing foreground
too).  Then reselecting and rotating.  No difference.

In the preferences on file creation, for background, there are setting
choices for white, transparent, foreground color, or background color --
but NOT black (unlike Photoshop).  Not sure if this is the problem.

When the image is created, coming in from xsane, there is only one layer.

Method:

- Scanned using xsane from inside gimp: multiple postage stamps on a
black background.

- Set background color to black.

- Draw selection around ONE stamp and use rotate tool by dragging the
  grid around.

Direction = corrective; grid on -- works as desired (but gets
white triangles)

Transform (in the rotate tool palette)

  - tried Layer (works but gets white triangles)

  - tried Selection (just rotates the selection box and not any
part of the picture -- that is very odd!!! -- does this not
work or do I not understand what it is supposed to do??)

   Clipping -- is set to Adjust, but also tried the other settings
   all of which still end up with white areas.


I understand that I could draw selections around the various unwanted
white parts and fill with black, but that is a big pain -- we scan
thousands of such images and would thus have to do 4x thousands of fills.

Is Gimp unable to auto-fill those background areas?  Or do I not have
something setup correctly?

Is the problem related to the way in which we acquire the image in the
first place?

What am I missing

This is automatic in Photoshop (as long as the background is set to
black), so I assume that Gimp would do it even better.

Jay

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


Re: [Gimp-user] How to rotate part of an image without getting white triangles at the corners ?

2009-03-31 Thread norman
 big snip 

 I understand that I could draw selections around the various unwanted
 white parts and fill with black, but that is a big pain -- we scan
 thousands of such images and would thus have to do 4x thousands of fills.
 
 Is Gimp unable to auto-fill those background areas?  Or do I not have
 something setup correctly?
 
 Is the problem related to the way in which we acquire the image in the
 first place?
 
 What am I missing
 
 This is automatic in Photoshop (as long as the background is set to
 black), so I assume that Gimp would do it even better.
 
Just a thought. Suppose you open a new layer, fill it with black and
place it below the layer with the stamp.

Norman

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


Re: [Gimp-user] How to rotate part of an image without getting white triangles at the corners ?

2009-03-31 Thread Andrew
Jay Smith wrote:
 Using Gimp 2.6.6 on Ubuntu 8.04 (Hardy) Linux.

 We are testing using Gimp to replace Photoshop on Windoze.  However, we
 are hitting one problem/feature we have not been able to resolve.

 We scan images of postage stamps (using xsane from inside gimp). There
 are multiple postage stamps are on a black background.  Some of them are
 a little crooked and need to be rotated.

 We CAN rotate them as desired, but are ending up with unwanted white
 triangles at the corners.

 We have set the background color to black (and tried changing foreground
 too).  Then reselecting and rotating.  No difference.

 In the preferences on file creation, for background, there are setting
 choices for white, transparent, foreground color, or background color --
 but NOT black (unlike Photoshop).  Not sure if this is the problem.

 When the image is created, coming in from xsane, there is only one layer.

 Method:

 - Scanned using xsane from inside gimp: multiple postage stamps on a
 black background.

 - Set background color to black.

 - Draw selection around ONE stamp and use rotate tool by dragging the
   grid around.

 Direction = corrective; grid on -- works as desired (but gets
 white triangles)

 Transform (in the rotate tool palette)

   - tried Layer (works but gets white triangles)

   - tried Selection (just rotates the selection box and not any
 part of the picture -- that is very odd!!! -- does this not
 work or do I not understand what it is supposed to do??)

Clipping -- is set to Adjust, but also tried the other settings
all of which still end up with white areas.


 I understand that I could draw selections around the various unwanted
 white parts and fill with black, but that is a big pain -- we scan
 thousands of such images and would thus have to do 4x thousands of fills.

 Is Gimp unable to auto-fill those background areas?  Or do I not have
 something setup correctly?

 Is the problem related to the way in which we acquire the image in the
 first place?

 What am I missing

 This is automatic in Photoshop (as long as the background is set to
 black), so I assume that Gimp would do it even better.

 Jay
   
There's probably a better solution to this, but if you add an alpha 
channel to the image before rotating the selection, then instead of 
white triangles you'll  get transparent sections and you can add a black 
layer below to fill them in.

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


Re: [Gimp-user] How to rotate part of an image without getting white triangles at the corners ?

2009-03-31 Thread Jay Smith
Andrew,

Thanks for your suggestion, but...

I must not be understanding something critically important.

I _think_ I did as you described, but after rotation the object I just
rotated seems to disappear under the transparent (checkerboard) alpha
channel, never to be seen again.  If I have the black layer underneath,
then the rotated object is covered by black.

I have looked at the Help, etc., but it is becoming increasingly obvious
that one can't just drive this program.  It seems you have to be a
master mechanic just to do relatively simple tasks.  Maybe my brain
has been poisoned by the Photoshop way of doing things, but even (what
should be) simple things like making the canvas larger (necessary to do
if rotating objects that are in a very tight image/canvas) and trying to
fill the new area with background color seem to be incomprehensible to
me in Gimp -- in Photoshop, you just made the canvas bigger and it was
automatically filled by the background color.

Are there any good websites that approach this program from a here is
how to actually do stuff perspective?  I have not found one yet.

I am trying not to be frustrated, but what is s simple in my
10-year-old Photoshop is agony (so far) in Gimp.  I must really be
missing something very, very important!

Jay

On 03/31/2009 04:50 PM, Andrew wrote:
 There's probably a better solution to this, but if you add an alpha 
 channel to the image before rotating the selection, then instead of 
 white triangles you'll  get transparent sections and you can add a black 
 layer below to fill them in.
 
 A

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


Re: [Gimp-user] How to rotate part of an image without getting white triangles at the corners ?

2009-03-31 Thread Jay Smith
Partial Oops...

I had most recently responded to Andrew ...

 I _think_ I did as you described, but after rotation the object I just
 rotated seems to disappear under the transparent (checkerboard)
 alpha channel, never to be seen again.  If I have the black layer
 underneath, then the rotated object is covered by black.

Well... I tried again with a completely newly created image. And it
_did_ work as you described.

So I went back to the image I had been messing with and noticed that the
one and only layer was labeled by Gimp as New Layer instead of
Background.  It seems that once you mess with layers and flatten the
image, the now-one-and-only-layer is called New Layer instead of
Background.

And, IF it is called, by Gimp, New Layer, the procedure you (Andrew)
described does not work (the rotated item turns black).

However, if I flatten, save, and close the file (as .tif -- we are
always working with .tif files), and then re-open it, the
one-and-only-layer is again called Background and the method Andrew
described will work.

Thus if one had to do 10 such rotations in a single image (a very
typical situation for us), it seems we would have to flatten, save,
close, and re-open the file 10 times.  That does not seem right.

What am I missing?

Jay

P.S.  When I do add the new layer as Andrew describes, it is on top of
the original (background) layer and the background layer needs to be
moved on top of the new layer so that it can be seen and worked on. My
arm is aching from all the mousing around.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] How to rotate part of an image without getting white triangles at the corners ?

2009-03-31 Thread David Gowers
Hi Jay,

On Wed, Apr 1, 2009 at 4:02 AM, Jay Smith j...@jaysmith.com wrote:
 Using Gimp 2.6.6 on Ubuntu 8.04 (Hardy) Linux.

 We are testing using Gimp to replace Photoshop on Windoze.  However, we
 are hitting one problem/feature we have not been able to resolve.

 We scan images of postage stamps (using xsane from inside gimp). There
 are multiple postage stamps are on a black background.  Some of them are
 a little crooked and need to be rotated.

 We CAN rotate them as desired, but are ending up with unwanted white
 triangles at the corners.

I can confirm this -- except that I always get black, rather than
always getting white.
I've just filed a bug report for it.
In the meantime, you should be able to work around this by floating
the area (select-Float) before rotating.
No complex procedures are required, nor any particular redundancy.

This should be pretty easy to fix -- pretty high chances of seeing it
in the next 2.6.x release.

BTW, floating before rotating is NOT how I would do this. Instead, I would

1. Make sure BGcolor == black. Expand the canvas slightly using
'resize image' (however much you need, so that the final result is not
clipped); 'resize layers' should be set to 'all layers'.
2. Add an alpha channel to the background layer
3. Add a layer filled with black (move it to the bottom -- that is,
closest to the bottom of the screen in the layer list. Drag and drop
is not necessary, just click on the down arrow under the layers list.)
4. Select stamps and rotate them
5. Save. You will be prompted whether you want to flatten or merge the
image contents. Choose 'flatten'.




      - tried Selection (just rotates the selection box and not any
        part of the picture -- that is very odd!!! -- does this not
        work or do I not understand what it is supposed to do??)
You just described what it's supposed to do -- it transforms the
selection. Not the selected pixels, but the actual selection itself.
For example, you can make a square selection and rotate it 45 degrees
to turn it into a diamond.

The results may be non-obvious if you have 'Show selection outline'
turned off :)

Hope this helps!

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


[Gimp-user] how to rotate ?

2006-06-29 Thread Michael_Hoeller

Hello,

I have a little rectangle which I like
to rotate / animate. The rotation should give a kind of 3D impression -
the backward going part is shrinking and the forward comming is growing
relative to the middle axis which goes noth / south. 
I checked the GIMP help and asked google
but I did not find a way to do this under linux with GIMP, just some expensive
MS Windows solutions. Any hint how to do this are very wellcome. :-)

I hope this is not too bad expained,
my English leaves room for improvement - which I am working on. 


Thanks a lot 
Michael



This e-mail (and/or attachments) is confidential and may be privileged. Use or disclosure of it by anyone other than a designated addressee is unauthorized. 
If you are not an intended recipient, please delete this e-mail from the computer on which you received it. We thank you for notifying us immediately. ___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] how to rotate ?

2006-06-29 Thread Jeffrey Brent McBeth
On Thu, Jun 29, 2006 at 03:48:48PM +0200, [EMAIL PROTECTED] wrote:
 Hello,
 
 I have a little rectangle which I like to rotate / animate. The rotation 
 should give a kind of 3D impression - the backward going part is 
 shrinking and the forward comming is growing relative to the middle axis 
 which goes noth / south. 
 I checked the GIMP help and asked google but I did not find a way to do 
 this under linux with GIMP, just some expensive MS Windows solutions. Any 
 hint how to do this are very wellcome. :-)
 
 I hope this is not too bad expained, my English leaves room for 
 improvement - which I am working on. 

I used to do this all the time with

Filter - Map Object 

Select box, you can rotate it at will, you'll need a bunch of layers (one
for each frame), and you are mapping your image to the 3d object, so make
sure it is something interesting (I just tested again with a simple pure red
image, looked great as it span.

Jeff

-- 

Computer Science is as much about computers as astronomy is about telescopes
-- Edsger Wybe Dijkstra (1930-2002)

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


Antwort: Re: [Gimp-user] how to rotate ?

2006-06-29 Thread Michael_Hoeller

Hello Jeff,

thanks a lot - I am not sure if I got all. Will try
soon. I have a German GIMP 2.2 
and I am not sure what mad Object in the filter Menu
can be no seem me right..
the filter menu is spilt in 5 parts, which of these
is it? 
And will this be selfe explaining : you'll need
a bunch of layers (one  for each frame), and you are 
mapping your image to the 3d object when I come
to the right place? I am not sure if i understand, at 
this point in time, what you mean - that mighht change
when I find the correct menu.

THanks again 
Michael

 On Thu, Jun 29, 2006 at 03:48:48PM +0200, [EMAIL PROTECTED]
wrote:
  I have a little rectangle which I like to rotate / animate. The
rotation 
  should give a kind of 3D impression - the backward going
part is 
  shrinking and the forward comming is growing relative to the
middle axis 
  which goes noth / south. 

 I used to do this all the time with
 
 Filter - Map Object 
 
 Select box, you can rotate it at will, you'll need a bunch of layers
(one
 for each frame), and you are mapping your image to the 3d object,
so make
 sure it is something interesting (I just tested again with a simple
pure red
 image, looked great as it span.
 
 Jeff




This e-mail (and/or attachments) is confidential and may be privileged. Use or disclosure of it by anyone other than a designated addressee is unauthorized. 
If you are not an intended recipient, please delete this e-mail from the computer on which you received it. We thank you for notifying us immediately. ___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user