Hi.
I would like to resize (downscale) some images the way that Facebook does it. ImageMagick, but hey, I'm open for suggestions :)
I believe Facebook is doing this:
Say you have a max width x height of 250x200, Facebook is optimizing the use of this. Tries to use as much of the 250x200 as possible. If for instance you scale down an i...
I have a bunch of 48x48 images that I need 16x16 versions of, and instead of storing the 16x16 versions, I want to resize them on the fly. My current code looks like this (model.icon() returns the 48x48 image):
Icon icon = model.icon();
Image image = new BufferedImage(icon.getIconWidth(), icon.getIconHeight(), BufferedImage.TYPE_INT_RGB...
I'm using Smart Image Resizer to resize images on the fly and it works great - for pages with few images.
However, when loading a page containing 72 images, it takes 6-7
seconds to load (on localhost).
If I just output the filenames, (not using image.php), the page loads
within a second.
This is what I do:
1. Loop through an array ...