Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automated resizing of images when uploading

Status
Not open for further replies.

TheDemon

Programmer
Feb 7, 2000
108
GB
I'm working on a site where a number of different users upload their own scanned images into a template. Each image will sit within a specified size (say 100x300 pixels).<br>
<br>
The problem is that different users will scan in images of varying sizes. <br>
<br>
How can I ensure that quality of scans remain the same? Is there a way of getting them to upload a vector-based file and then automating a conversion to raster? <br>
<br>
Am I on the right lines or totally out of the ball-park?!<br>
<br>
Your help would be very much appreciated as I don't want to have to sit at home until 5 in the morning resizing images manually!<br>
<br>
Thank you.
 
You can never ensure that the quality of scans will be perfect to your satisfaction so just concentrate on what you can control. If you use the width and height tags on your images you can force the image into a predefined size. Most images are scanned at 640 by 480 or some multiple of that (i.e., 320 by 240, 1024 by 768, 1280 by 960, etc.) The larger the size the greater the file size. You can batch convert images (change size and color depth) with several packages--Graphics Workshop is one--in order to reduce the file size for downloading purposes. Very few users are able to produce vector graphics--and a photograph would not be a good candidate for vector graphics anyway!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top