Thumbnails with target file size
Posted: 2009-11-14T07:57:16-07:00
Hi
I have been using quite a bit ImageMagick to create thumbnails both for personal use and in web applications. So first of all a big thanks to the ImageMagick team.
My question is that I can easily create thumbnails of a given size and then the file size is free but now I need to do the reverse operation. Given a max file size, create the biggest thumbnail possible. I need this for an iphone application that is used to control the Sonos sound system. The application limits the size of the thumbnails to 250K but I want to get the biggest size possible with that size contsraint.
Is this possible? I have looked at the docs of convert carefully but it seems not possible at the moment.
Any help will be appreciated
Carlos
I have been using quite a bit ImageMagick to create thumbnails both for personal use and in web applications. So first of all a big thanks to the ImageMagick team.
My question is that I can easily create thumbnails of a given size and then the file size is free but now I need to do the reverse operation. Given a max file size, create the biggest thumbnail possible. I need this for an iphone application that is used to control the Sonos sound system. The application limits the size of the thumbnails to 250K but I want to get the biggest size possible with that size contsraint.
Is this possible? I have looked at the docs of convert carefully but it seems not possible at the moment.
Any help will be appreciated
Carlos