From: David Moreno Date: 2008-02-04T10:17:12+09:00 Subject: Re: Resizing pictures for file size On Mon, 2008-02-04 at 08:34 +0900, Tim Hunter wrote: > J. Pablo Fernández wrote: > > Hello, > > > > I'm using rmagick but I'm open to other libraries if needed. I want to > > resize an image, scale actually (mantaining the aspect ratio) so that > > the > > size of the file is lower than a certain amount of bytes. Any ideas > > how to > > do this? > > > > Thanks. > > -- > > J. Pablo Fernández (http://pupeno.com) > > > > I can't speak for other libraries, but this is not possible with > RMagick. This question comes up from time-to-time on the ImageMagick > forum but the answer is always "not possible" other than just by > trial-and-error. What exactly is not possible? Resize according to the certain amount of bytes after the resize? -- David. First time I had read the Bible/ It had stroke me as unwitty!