Tech Support > Computers & Technology > Software & Applications > Batch image processing [Was: Cropping Photos]
Batch image processing [Was: Cropping Photos]
Posted by Phred on April 12th, 2004


G'day Colin (and the rest of the world :-)

Your comment about batch resizing reminded me that I would *really*
like a batch cropping tool.

Perhaps impossible (I know naught of graphics formats) but maybe it
can be done, at least in theory if not yet (ever?) in practice.

Given a large set of "identical" images (that is, they all have the
same general format but differ in contained detail -- imagine a camera
on a fixed stand taking photos of a street scene every so often and
you'll get the "picture") I would like to be able to set up a batch
job to edit the files (JPEGs probably, perhaps GIFs too) and crop them
to the same set of specified coordinates within the image (say the
rectangle contained within 45,25/650,410 pixels or whatever from the
bottom left corner for example).

Anyone know if such exists, or is ever likely to?


Cheers, Phred.

--
ppnerkDELETE@THISyahoo.com.INVALID


Posted by Toke Eskildsen on April 12th, 2004


Crossposted to alt.sys.pc-clone.dell, alt.comp.freeware and aus.photo,
follow-up to alt.comp.freeware

Phred wrote:

There's two obvious choices from my point of view: Use IrfanView or do
it losslessly using JPEGTran.

IrfanView provides the functionality under Batch Conversion | Use
advanced options.

The lossless way: If you download jpegtran from
http://sylvana.net/jpegcrop/jpegtran/
and create the following batch file (open notepad, paste the code below
and save as "crop.bat" (do write the quotes to get notepad to
understand that you really mean to save the file with an extension that
isn't .txt)), running the batch file will crop all the JPEG images in
the current dir and put them in the subdir "cropped":

**** crop.bat ****
mkdir cropped
FOR %%A IN (*.jpg) DO jpegtran -crop 320x200+16+48 %%A cropped\%%A
******************

The position of the crop area has to be a multiple of the iMCU size,
which is practically always 8 or 16, depending on the image.

Posted by CoMa on April 12th, 2004


Newsreader: News Xpress 2.01
On Mon, 12 Apr 2004 14:32:24 GMT,
"Phred" wrote this message:


Maybe this program

JPGCrops - Cropping of JPEG images without loss of quality
http://ekot.dk/programmer/JPEGCrops/

What is this?
JPEGCrops is a Windows program, created for preparation of a batch of
images for printing. It provides lossless cropping with fixed aspects
using JPEGTran.

Why use it?
Most digital cameras produce JPEGs with the aspect 4:3. A very common
papersize for photo albums is 4"x6" (10x15cm), which has the aspect
3:2. If you want to print, you often need to crop.

If you need to crop 50 images, it can be very time-consuming in
dedicated image editors like PhotoShop or Paint Shop Pro. JPEGCrops
isn't a real image editor: It just rotates and crops. But it's fast
and it's free.


/CoMa


--
Conny (CoMa) Magnusson
hubbabub@algonet.se
http://www.algonet.se/~hubbabub/
ICQ : 1351964
=============================
It's natural to expect there might be
people doing stupid things with computers.

Posted by Toke Eskildsen on April 12th, 2004


Crossposted to alt.sys.pc-clone.dell, alt.comp.freeware and aus.photo,
follow-up to alt.comp.freeware

CoMa wrote:

Normally not, but since you show such faith, I made a quick
implementation of the feature.

Untested and all, a preliminary version can be downloaded from:
http://ekot.dk/JPEGCrops/alpha/JPEGCrops0.6.14alpha.zip

The function is called "synchronize crops" and can be found in the Edit
menu.

Posted by Ogden Johnson III on April 12th, 2004


ppnerkDELETETHIS@yahoo.com (Phred) wrote:

You missed, as suggested in that earlier "Cropping Photos"
thread, including rec.photo.digital in your crossposts; since
that group

can go a long way towards remedying your "I know naught of
graphics formats" plaint. And can give you a better handle on
what software tools, graphics-wise, are out there to help you
play with your photos.
--
OJ III
[Email sent to Yahoo addy is burned before reading.
Lower and crunch the sig and you'll net me at comcast]

Posted by Lawrence Glasser on April 12th, 2004


CoMa wrote:
Wow! VERY cool, little program. (And, without making use of the registry.)

Thanks!

Larry
(No affiliation, just an impressed user.)

Posted by Phred on April 13th, 2004


G'day OJ,

Thanks for your pointer but, no, I didn't miss it. I try to be as
selective as possible with my participation in newsgroups these days
and tend to avoid "big 8" and alt.* if I can. Thus the local
aus.photo in lieu of r.p.d. I find that by sticking to local aus
groups I can usually get solutions/advice/whatever without
precipitating great dunghills of email offers for penis enlargement
and sexy barely teens (or is that barely sexy teens?) etc.

Obviously, Dell owners can hardly avoid a.s.p-c.d and the impecunious
amongst us must also frequent a.c.f. :-)

I must say I was *very* impressed by the remarkably timely response
from Toke of JPEGCrops fame to my plaintive cry. It restores my faith
in the charitable nature of humanity!

In article <n0el709rj57eojiilgrn5beqfkoqoatm2a@4ax.com>,
Ogden Johnson III <oj3usmc@yahoo.com> wrote:
Cheers, Phred.

--
ppnerkDELETE@THISyahoo.com.INVALID


Posted by Patrick on April 14th, 2004


??? IrfanView can do that ???

Patrick.

"Phred" <ppnerkDELETETHIS@yahoo.com> wrote in message
news:c5e97l$lcuc$1@ID-151056.news.uni-berlin.de...


Posted by epcsoft on April 24th, 2004


All you said are very good,but anther soft may do better,which is Advanced
Batch Filter:Offers over 20 filters to batch convert/edit/enhance images.
You can free download here:
http://www.epcsoft.net

Posted by Micronn on April 25th, 2004


It's not freeware.
Price: $39.5

On 24 Apr 2004 16:30:41 -0700, support@epcsoft.com (epcsoft) wrote:


Posted by M i c C u l l e n on April 29th, 2004


support@epcsoft.com (epcsoft), far, far away from here, appears to have
written:

Gee, free download!!

You forgot to mention that it's $40 to buy. How about that.
cheers, Mic (Reply address works...)

When people are highly motivated, it's easy to accomplish the impossible. And when they're not, it's impossible to accomplish the easy. - Bob Collings


Posted by Phred on August 24th, 2006


In article <Xns94C9B43C6F370tokeeskildsen@130.133.1.4>, Toke Eskildsen
<darkwing@daimi.au.dk> wrote:
'Onya, mate! I must say that is amazingly excellent service!
(Hope I'm not overdoing the superlatives; but having become somewhat
jaded with many aspects of the modern USENET, it's really great to see
that there are still people here with both public spirit, competence,
and other positive human attributes.)


Cheers, Phred.

--
ppnerkDELETE@THISyahoo.com.INVALID


Posted by Phred on August 24th, 2006


In article <407c8573$0$18984$c30e37c6@lon-reader.news.telstra.net>,
"Patrick" <Via the newsgroup> wrote:
G'day Patrick,

Not sure what you're about here -- it looks like a question, but
sounds like an assertion. :-)


Cheers, Phred.

--
ppnerkDELETE@THISyahoo.com.INVALID



Similar Posts