Don't ask to ask, just ask | |
PerlMonks |
Re: Manipulating Images (height and width)by Jeppe (Monk) |
on Sep 09, 2002 at 10:55 UTC ( [id://196207]=note: print w/replies, xml ) | Need Help?? |
For the sake of the quality, I highly recommend you use GD or ImageMagick for scaling. You CAN do this using the height and width of the image tag in your HTML, but then the images will be at the mercy of the resizer within the end-user browser.
More importantly, you should make sure you maintain the h/w ratio when you scale an image. Otherwise, people will get flat faces and other unwanted artifacts. For moral strength, you should also consider auto-converting to PNG graphics.
In Section
Seekers of Perl Wisdom
|
|