[Gimp-user] Crop Tool Use Cases

2005-08-23 Thread Akkana Peck
A discussion on IRC about the new crop tool revealed that there are
lots of different use cases for cropping. They're all important, and
it's important to make sure there's a list of them so that the new
crop tool will handle them.

Here's a start.  I hope people will jump in and fill in the details
for the ones I'm unclear on (the constrain case and the zealous
case) and add any other use cases I've missed.

- Crop to selection.
  (Handled fine by Image-Crop Images. This might be the most common
  case, and the one a lot of GIMP newbies will use until they discover
  the others.)

- Crop a small area of any size out of the middle of an image.
  (Handled fine by old and new crop tools.)

- Crop an area of constrained aspect ratio, letting you move or
  resize the crop rectangle to choose the right area.
  (I don't do this very much, but people ask for it all the time,
  and maybe I'd do it if it were easier.  Someone who needs/uses
  this should speak up with details on how it should work!)

- Crop an area out of an image, retaining one or more existing
  edges.
  (Handled well by old crop tool; difficult in current CVS.
  Making the crop tool stop at the image edges, like the old
  crop tool did, would fix this.)

- Crop a single layer image to the visible boundaries.
  (Handled by Autocrop, not by the crop tool.)

- Crop multiple layers to the visible boundaries.
  (In 2.2 it was roundabout: select all, click in the image, click
  From Selection, then click Auto Shrink. In CVS there's currently
  no way to do it. I'd like to see the Autocrop menu item handle
  all visible layers (is there some reason it shouldn't?, or see a
  similar item, like Crop to Visible Layers, which does that.)

- I assume there's a use case for Zealous Crop, but I'm not clear
  what it is. When I try it I usually end up with an image with a
  bunch of blank layers because anything with information has been
  cropped away. Can a Zealous Crop user speak up?

Okay, crop users, tell me what I missed!

...Akkana
___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Crop Tool Use Cases

2005-08-23 Thread Warren Baird
On 8/23/05, Akkana Peck [EMAIL PROTECTED] wrote:
 
 - Crop an area of constrained aspect ratio, letting you move or
   resize the crop rectangle to choose the right area.
   (I don't do this very much, but people ask for it all the time,
   and maybe I'd do it if it were easier.  Someone who needs/uses
   this should speak up with details on how it should work!)

I've played with this in iPhoto - the implementation there lets you
pick from a list of standard aspect ratios (2x3, 8x10), or a custom
ratio, and then the crop is contrained to that ratio.

The best use-case I can think of is for printing.  If I know I want to
print borderless on an 8.5x11 sheet of paper, I'd like to be able to
crop to that aspect ratio directly, rather than letting the printer
driver decide to crop it in some arbitrary way.
___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


[Gimp-user] Re: Crop Tool Use Cases

2005-08-23 Thread Roel Schroeven

Akkana Peck wrote:

- Crop an area of constrained aspect ratio, letting you move or
  resize the crop rectangle to choose the right area.
  (I don't do this very much, but people ask for it all the time,
  and maybe I'd do it if it were easier.  Someone who needs/uses
  this should speak up with details on how it should work!)


I use this quite a lot on photo's from my digital camera. I often want 
to crop the photo to the prettiest region of it, but I want to constrain 
the aspect ratio to make the result exactly fit my desktop, or to make 
it exactly fit the aspect ratio of my favorite online print shop.


There are actually two use cases:
- constrain to any custom aspect ratio. Possibly some preselections 
(3:4, 4:5, 9:16, 10:15, 11:15, ...) could be provided, but it should in 
any case be possible to specify any desired ratio.
- keep the aspect ratio of the original (but I guess this is just a 
special case of the above)


--
If I have been able to see further, it was only because I stood
on the shoulders of giants.  -- Isaac Newton

Roel Schroeven

___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


[Gimp-user] script fu and image file support?

2005-08-23 Thread woc
I'm hoping someone can point me in the right direction.

I want to write gimp support for an obscure file format.  The format
is relatively simple (simpler than TGA or BMP, for the most part), but
does have a few variations where I would want to use multiple layers.

I've written code in perl to convert to/from other image file formats,
but maintaining that with all the variations is suboptimal because
image features don't precisely overlap.

I do not want to write a .c plugin, because portability is more
important to me than speed.

These images are relatively small (a few megabytes at most), and I'm
hoping I can ignore all the load image an arbitrary tile at a time
features of the GIMP.  If not, I'll live with that, if only I could
figure out how.  If doing this from script fu kills performance, I can
always advise people to save images in some other file format (such as
.XCF) before manipulating them.

I do NOT know much about scheme internals.  I've been trying to study
them, but I keep getting off on tangents that lead me elsewhere.

I am comfortable with scheme, and think I know how to look up anything
scheme-related but non-gimp-specific.

Can someone point me at:  

* gimp 2.2 load/save support for some type of file written in script-fu?  Or,

* a concise reference work describing the data types I'd need to deal
with and their fundamental support routines?  Or,

* a faq which is specific to this topic (script fu support for load/save)?  Or,

* anything else which you think would be specifically useful in this context?

Or, if all else fails, I suppose I could try to dig up .XCF file
format documentation and write conversion support to/from that format
in perl.  But I just know I'm going to hate myself, if I attempt that
route.

Thanks!

(woc)
___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


[Gimp-user] HP Laserjet 1100 print problems

2005-08-23 Thread squareyes

Hi all,
am having problems printing to HP Laserjet 1100 (printing grayscale)
from Gimp. Printer shows in the printing dialog, but on the print command
I get 1 page with

%!PS-Adobe-3.0
 %%Creator: Print plug-in V4.2 for 
GIMP/Gimp-Print 4.2.7 (15 Jul


followed by many blank pages through the printer. The only way to stop 
it feeding paper is
to cancel the print job. I have tried both PostScript Level1 and 
PostScript Level2

the only options available, with the same result.
Have I neglected to  install anything?   Printer shows in the Printer 
name slot.

Am using Ubuntu Linux 5.04. Printer is fine with Open Office,  Gedit etc.
Thanks in advance for any help, much appreciated.
Take Care
Winton

___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Crop Tool Use Cases

2005-08-23 Thread michael chang
On 8/23/05, Akkana Peck [EMAIL PROTECTED] wrote:
 - Crop a single layer image to the visible boundaries.
   (Handled by Autocrop, not by the crop tool.)
 
 - Crop multiple layers to the visible boundaries.
   (In 2.2 it was roundabout: select all, click in the image, click
   From Selection, then click Auto Shrink. In CVS there's currently

I thought Autocrop handles this too.  It appears to in 2.2.8, unless
I'm mistaken.

-- 
~Mike
 - Just my two cents
 - No man is an island, and no man is unable.
___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] HP Laserjet 1100 print problems

2005-08-23 Thread michael chang
On 8/23/05, squareyes [EMAIL PROTECTED] wrote:
 Hi all,
 am having problems printing to HP Laserjet 1100 (printing grayscale)
 from Gimp. Printer shows in the printing dialog, but on the print command
 I get 1 page with
 
 %!PS-Adobe-3.0
   %%Creator: Print plug-in V4.2 for
 GIMP/Gimp-Print 4.2.7 (15 Jul
 followed by many blank pages through the printer. The only way to stop

This is raw postscript.  Apparently, something isn't parsing the
Postscript into something your printer can read.

 Am using Ubuntu Linux 5.04. Printer is fine with Open Office,  Gedit etc.

This OS has a habit of autoconfiguring things for the user... I dunno
if you'd even know how to go about fixing this.

What kind of print system does Ubuntu use?  CUPS?

-- 
~Mike
 - Just my two cents
 - No man is an island, and no man is unable.
___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user