News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

Main Menu

How to define a size 320x480 for intermediate pictures using IM

Started by leemax, August 03, 2008, 08:31:36 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

leemax

Like the Topic, I hope the intermediate pictures not just resize to Max width or height,
but "Command line options for ImageMagick" can control thumb only.

Stramm


leemax

sorry, I make a wrong.
this is my site : http://www.tootoo8.com
a iPhone wallpaper site, user can upload pictures. But the size(pixel) not fit the iphone wallpaper size(320X480px)

so I open "Create intermediate pictures" option and at "Command line options for ImageMagick"  add " -gravity center  -crop 320x480+0+0"
and then I solved the prolblem: create 320X480px intermediate pictures.

But, originally, I used the "Command line options for ImageMagick"  add " -gravity center  -crop 62x62+0+0" to create the thumbnails by 62X62px size.
Now, I open "Create intermediate pictures" option, how can I creat 62X62px thembnail?

Stramm

The commandline option are valid for all resized images. It doesn't matter if they are intermediate images or thumbs.
The modpack contains a cropping function just for the thumb. But I think with some coding you could enhance it to crop intermediates as well...