Hi Neil,

I did a similar job for a photolibrary client some years ago, Im afraid I no
longer have the code otherwise I would give it to you. If however you or a
friend knows a bit of scripting/visual basic then you can do the following:

Use the opensource Imagemagick convert program (
http:\\www.imagemagick.org\) to do the conversion of the images. This is a
command line driven interface that takes parameters from the command line.
This you drive from a script or visual basic program that processes the
tiffs one at a time and then reads in the file size. From this it can work
out if the compression ration is to high/low and therefore re pass new
parameters to modify the compression. To keep sane you would just work
between certain limits (say min 5 max 12). Some picture will still not be
1.5mb even with 12 so you cannot guarantee 100% 1.5mb files but its amazing
how close you can get.

A none programming approach is to batch everything at one ration but do it
several times at different ratios and save to different directories, then
you cherrypick the closest to 1.5mb for each image from these folders.
Usually there are only a few culprits that are out of range and so its easy
to pick them out.

Stephen Johnson

----- Original Message ----- 
From: "Neil Cooper" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 09, 2003 3:10 PM
Subject: Re: [PRODIG] Batch tiffs to jpegs


> > At 12:15 pm +0100 9/6/03, Neil Cooper wrote:
> >
> > >I have to convert several hundred tiff files into jpegs which must not
> > >exceed 1.5 Mb. Is it possible, in PhotoShop, to make an action to do
this
> > >and then batch process them?
>
> Paul wrote:
> 'Save for Web' in
> > Photoshop, there is a small pull-down menu on the extreme right-hand
> > side of the dialog, in which one of the options is "Optimize to file
> > size..." and if you choose this, you get another dialog where you can
> > enter the target file size.
>
> Thanks Paul but the target file size appears to be limited to a 'max' of
> 999k and I need them all to be 1.5Mb
> Any other suggestions please?
> Cheers
> Neil
>
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> Neil Cooper Pictures
> web:     neilcooper.co.uk
> email:   neilcooper at tiscali.co.uk
> tel:       44 (0) 1548 830011
>
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> ===============================================================
> GO TO http://www.prodig.org for ~ GUIDELINES ~ un/SUBSCRIBING ~ ITEMS for
SALE


===============================================================
GO TO http://www.prodig.org for ~ GUIDELINES ~ un/SUBSCRIBING ~ ITEMS for SALE

Reply via email to