Resize Images for Mobile Devices
Posted: 2010-04-13T04:32:09-07:00
Hi,
I'm working in mobile web applications and we serve downloadable Gif Images. Each image will be made in 20 variations. If a device is requesting a image (say 400x500 widthxheight) this is a new size and there will no image at this size in our image store. Instead of adding one more size to the store(need to create all the images with this size) i want to generate new size dynamically. I have installed IM. i need commands. As the image is served to mobile it has be optimized and have low weight. 640x640 is the maximum size available with me. Hope im clear. let me tell you the flow once again.
Mobile Device Requests image -> 400x600 (widthxheight) -> Image not found -> Pick same image of size 640x640 -> crop/resize to 400x600 -> optimize for mobile -> Image should Fit in mobile
i have animations also. so it has to work for both normal and animated gifs.
Please give me the best suitable command for my requirement.
I'm working in mobile web applications and we serve downloadable Gif Images. Each image will be made in 20 variations. If a device is requesting a image (say 400x500 widthxheight) this is a new size and there will no image at this size in our image store. Instead of adding one more size to the store(need to create all the images with this size) i want to generate new size dynamically. I have installed IM. i need commands. As the image is served to mobile it has be optimized and have low weight. 640x640 is the maximum size available with me. Hope im clear. let me tell you the flow once again.
Mobile Device Requests image -> 400x600 (widthxheight) -> Image not found -> Pick same image of size 640x640 -> crop/resize to 400x600 -> optimize for mobile -> Image should Fit in mobile
i have animations also. so it has to work for both normal and animated gifs.
Please give me the best suitable command for my requirement.