I have thought about this in the past, Sometimes smooth images seem to compress a little too much and it would be nice to compress the simpler images less. If for instance you want to ensure that an A4 300 dpi images is less than 2mb to meet email gateway limits its nice to think that the less grainy / smoother images are not compromised as much as the grainy / detailed ones.
The way forward is to write a Visual Basic program to drive something like graphics magic / image magic to try different compression ratios and monitor the file size output, if the file is still under size the script would increment compression until it is reached. Photoshop's optimize to file size uses this method though on a single picture at a time basis. Reaching target size would require multiple compression / writing to disk cycles before the best compression is found. This would slow down the process but on a fast machine it would still be possible to process thousands of files overnight. Stephen > I have to convert several hundred tiffs to jpegs. > They all have to end up being roughly the same file size. =============================================================== GO TO http://www.prodig.org for ~ GUIDELINES ~ un/SUBSCRIBING ~ ITEMS for SALE
