Reply to post: pre-scaling web images to avoid bandwidth bloat

The web is DOOM'd: Average page now as big as id's DOS classic

bombastic bob Silver badge

pre-scaling web images to avoid bandwidth bloat

"Am I the only one to bother optimising images for web use? I come across pages with the images approx. 4000x3000 that let the browser do the work of scaling it down to 400x300."

how about Image Magick's 'convert' on the server side?

convert bloat-image.jpg -thumbnail x300 reasonable-image.jpg

should work. could even be done in a PHP or perl CGI. A more efficient algorithm would be to create the thumbnail first (using a similar command), then clicking the photo would open up the full-size image.

but that takes EFFORT. And these bandwidth-stealing "coders" are LAZY.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Biting the hand that feeds IT © 1998–2019