Tech Support > Operating Systems > Linux / Variants > Cropping Images on Linux/Windows
Cropping Images on Linux/Windows
Posted by Bernd on December 27th, 2003


For Windows, I found a nice programm called JPEGcrops that crops pictures to
a particular format (10x15 or 4x6), where the cropping area can be chosen
interactively. Unfortunately, this program has no image manipulation functions,
so I always need a second program. Also, it only runs on Windows.

So I am looking for a free program with (simple) image manipulation capabilities
and a cropping function to specified formats, preferably for Linux but Windows
is also accepted. I know about the command line tool jpegcrop but the region to
crop can not be specified interactively (at least not as far as I know).

Regards
Bernd

Posted by Dave Millen on December 27th, 2003


On Sat, 27 Dec 2003 05:37:11 -0800, Bernd wrote:

<snip>

The gimp?

http://www.gimp.org/download.html

Regards,
Dave


Posted by David J Taylor on December 27th, 2003


jpegcrop: http://sylvana.net/jpegcrop/

It is interactive under Windows.

David



Posted by Dan Espen on December 27th, 2003


gg.2.schandl@spamgourmet.com (Bernd) writes:

"display" (part of ImageMagik).

xv

probably dozens more.

Posted by Michael Meissner on December 28th, 2003


gg.2.schandl@spamgourmet.com (Bernd) writes:

Under Linux you have 3 sets of tools that may do what you want:

Gimp:

http://www.gimp.org/

ImageMagick's display and convert programs:

http://www.imagemagick.org/

And netpbm (I'm not sure of a web site for it).

Gimp is probably the most powerful, but also has the largest learning curve.
It is mostly geared towards interactive editing. ImageMagick has tools for
interactive editing (display) as well as command line editing (convert,
montage, mogrify, etc.). The netpbm tools are older, and are all command line
driven.

There are a few paper books on Gimp, including Groking the Gimp:

http://www.amazon.com/exec/obidos/tg...267339-2862208

For other Linux tools you might want to search freshmeat:

http://freshmeat.net/

I wrote a simple perl script that uses the ImageMagick tools to crop a picture
for printing, adds the copyright message, displays the result, and asks if it
is acceptable.

--
Michael Meissner
email: mrmnews@the-meissners.org
http://www.the-meissners.org

Posted by ynotssor on December 28th, 2003


"Michael Meissner" <mrmnews@the-meissners.org> wrote in message
news:m33cb58xoe.fsf@tiktok.the-meissners.org

http://netpbm.sourceforge.net/

--
use hotmail for any email replies


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----

Posted by Bernd on December 28th, 2003


Thanks for all your suggestions but I think non of the suggested programs
satisfies both of my criteria:

- Simple image manipulation like removing red eyes or changing contrast
(JPEGcrops can't do this, all the others can)

- Cropping to a specified format like 9x13 or 4x6
(JPEGcrops can do this, none of the others can)

Of course I can sit down with the regular crop function and calculate how
I have to crop to get 9x13 but I want to be able to choose the format from
a menu and get a cropping window which I can just move around.

Regards
Bernd

Posted by Povl H. Pedersen on December 28th, 2003


On 2003-12-28, Bernd <gg.2.schandl@spamgourmet.com> wrote:
In GIMPI make a new window 9x13, select all, copy to new window, and
uses the move tool to move it to the selection I want. Very easy.

Posted by Dave Millen on December 28th, 2003


On Sat, 27 Dec 2003 23:23:28 -0800, Bernd wrote:


Right click in the image window,

Select: Image,
Select: Canvas size,
Select desired units from px, %, in, mm, pt, pc, cm, m, feet, yard, tpt,
tpc(inches in your case)
Type your required width and height, set the offset by dragging the box or
by typing the values and click OK

Works perfectly

Dave

Posted by David Tangye on January 4th, 2004


On 29/12/03 02:48, after an epic battle with a keyboard, Dave Millen
wrote ...
I find it quicker and more accurate in the gimp to select exactly the
area I want with the mouse, copy it (ctl-c) , then get a new
graphic-file of that selected size (ctl-n), paste into it (ctl-v) and
save it(ctl-s).

--
Best regards,
David Tangye - Redhat Linux user since 1997
Reply to GoLinuxTakeThisOut@iprimus.com.au
Make sure you remove the 3 syllable spam trap in the reply address


Posted by Jeff on January 5th, 2004


On Sat, 27 Dec 2003 10:06:35 -0500, Dan Espen wrote:

Yeah, like add ee, feh, gliv, iv, pornview, qiv, scrot, xzgv, and there's
more.

-Jeff

Posted by SmartyPants on January 6th, 2004


A word to the newbies... when you crop a JPEG, do not save the result as a
JPEG... save it as a TIFF or other uncompressed file. Saving a cropped JPEG
is like compressing a brand new photo... the software thinks it is an
original and removes another layer of data resulting in another layer of
loss.

________
address bot proofed and human safe


Posted by Toke Eskildsen on January 6th, 2004


SmartyPants wrote:

....Unless one uses a program that crops without recompression.

http://sylvana.net/jpegcrop/losslessapps.html

Posted by Michael Meissner on January 6th, 2004


"SmartyPants" <aipeasr@hot(remove_this)mail.com> writes:

This is really only true if you are going to edit the file multiple times (and
generally you should save such files in the raw format of your photo editor,
rather than tiff or jpeg, and then save the final time in JPEG). A lot of
times you don't want the final output to be in TIFF due to size constraints
(and places like photo printers may not accept TIFF).

--
Michael Meissner
email: mrmnews@the-meissners.org
http://www.the-meissners.org

Posted by SmartyPants on January 6th, 2004


I did not know that software existed that could recompress an opened JPEG
without more loss. Thanks for the list of great software. I had in mind
cameras where the original file was a JPEG, not a TIFF or RAW. I do believe
that JPEG is the preferred format of printers
_________
address bot proofed and human safe



Similar Posts