Jab - Image Resizing
Saturday, 5 February 2011
Jab can now serve up scaled images by simply appending query string parameters to the image name.
For example, to limit an image to maximum width of 600px, use a URL like this:
Similarly for height:
Or, to scale by an arbitrary percentage:
For details on the image resizing itself, read this where I explain how ImageMagick can be used for high-quality image resampling under Mono.
Of course all of the above is tied in with Jab's HTTP caching and it's Memory Cache.
Leave a comment