Fog Creek Software
Discussion Board




Automated Image Reducer?

I need a system which will optimize an image, and also create a thumbnail whenever someone posts a picture to our website. Does anyone know of a system or could point me in the right direction? We have a programmer but need to find the proper system to incorporate, if possible...

Lance Kevin
Wednesday, May 07, 2003

If your using Java or JSP, this can be achieved using just the API.

http://www.geocities.com/marcoschmidt.geo/java-save-jpeg-thumbnail.html

Ged Byrne
Wednesday, May 07, 2003

you can use ReaConverter Pro software that does exactly what you need: http://www.reasoft.com/products/reaconverter/

Russ N.Morse
Wednesday, May 07, 2003

http://www.imagemagick.org/

may be what you want

JP
Wednesday, May 07, 2003

Or irfanview (http://www.irfanview.com) on windows.
It works from command line and can be run from any script.

Ros
Wednesday, May 07, 2003

It sounds like you may need two things.  Or at least a two step process:

1) Optimize your base images.  This can be achieved in many ways.  For example, for JPEGs, there are plenty of useful optimizer plugins for Photoshop.

2) Create your thumbnails from your base optimized images. Most languages probably have basic resizing/image manipulation APIs.  If this is a web-based app, I highly recommend PHP, which has built-in support for manipulating JPEGs etc.  You would probably only want to generate the thumbnails the first time (or if the base image changes).. not every time.

Good luck.

Tom Davies
Wednesday, May 07, 2003

If it is JPEG's it should be just  a few lines of C#.

Just me (Sir to you)
Wednesday, May 07, 2003

BTW, for web uploads stay away from PhP. We are having serious problems with file uploads (incredibly slow) in PhP.

Just me (Sir to you)
Wednesday, May 07, 2003

Or LEADTools, commercial and industrial strength.

Joel Spolsky
Wednesday, May 07, 2003

*  Recent Topics

*  Fog Creek Home