Ask a Question related to PHP Development, Design and Development.
-
André Nęss #1
Optimize to file size (image)
Photoshop has a function called optimize to file size which tries to fit an
image to some given file size. Because I need to make sure no images on a
site I'm working on are larger than X KB I need something similar so that
users don't have to worry so much about image file size. Does anyone know
of a way to do this, preferably using ImageMagick or GD?
Doing several calls to ImageMagick with different optimize settings is a not
a good option.
André Nęss
André Nęss Guest
-
Will Flash optimize image sizes?
Hello again everybody :) I have a question about the optimization of pictures placed in a Flash stage. If I put a big sized pictures (for... -
Image::Magick scale smaller makes file size bigger
Hi, The problem is i'm using Image Magick to create thumbnails smaller images out of large ones. 99% of the time this works great but there's 1%... -
getting remote image size with Image::Size & LWP
Thank you for your patience and help bringing me up to speed on how to be a better user of this list. My previous post was my first. I am... -
Image Qulaity....File Size
I recieved an grayscale image (a photo) that was a TIFF document. Even though it shows under 'image size' as 72 ppi, it has good quality even at... -
How do I get the file size of an image?
Hi, I have opened an image using the code below. I can read the physical dimesions of the image but I need to get the file size. Dim img As... -
Andy Hassall #2
Re: Optimize to file size (image)
On Tue, 25 Nov 2003 13:52:01 +0000, André Nęss
<andrena.spamreallysucks@ifi.uio.no> wrote:
I don't think there's any other alternative; there's no way of determining how>Photoshop has a function called optimize to file size which tries to fit an
>image to some given file size. Because I need to make sure no images on a
>site I'm working on are larger than X KB I need something similar so that
>users don't have to worry so much about image file size. Does anyone know
>of a way to do this, preferably using ImageMagick or GD?
>
>Doing several calls to ImageMagick with different optimize settings is a not
>a good option.
well an arbitrary image will compress without doing at least most of the work
of compressing it.
--
Andy Hassall (andy@andyh.co.uk) icq(5747695) ([url]http://www.andyh.co.uk[/url])
Space: disk usage analysis tool ([url]http://www.andyhsoftware.co.uk/space[/url])
Andy Hassall Guest
-
André Nęss #3
Re: Optimize to file size (image)
Andy Hassall:
Yeah I ended up definining a max width and height and forcing all images> On Tue, 25 Nov 2003 13:52:01 +0000, André Nęss
> <andrena.spamreallysucks@ifi.uio.no> wrote:
>>>>Photoshop has a function called optimize to file size which tries to fit
>>an image to some given file size. Because I need to make sure no images on
>>a site I'm working on are larger than X KB I need something similar so
>>that users don't have to worry so much about image file size. Does anyone
>>know of a way to do this, preferably using ImageMagick or GD?
>>
>>Doing several calls to ImageMagick with different optimize settings is a
>>not a good option.
> I don't think there's any other alternative; there's no way of
> determining how
> well an arbitrary image will compress without doing at least most of the
> work of compressing it.
into 60% jpeg. This keeps me well within the limits. I'm sure there is an
upper bound on how large a jpeg image can become if you know the max
dimension, but I didn't bother to check.
André Nęss
André Nęss Guest



Reply With Quote

