Closed Thread Icon

Topic awaiting preservation: Optimising Images (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=21930" title="Pages that link to Topic awaiting preservation: Optimising Images (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: Optimising Images <span class="small">(Page 1 of 1)</span>\

 
H][RO
Bipolar (III) Inmate

From: Australia
Insane since: Oct 2002

posted posted 05-25-2004 00:51

Can anyone recommend a method to do something similar to the feature in photoshop, which allows your to 'save for web'. So you can get the file size down by reducing quality - but physically its hard to see a change.

I know you can resize images etc with php or whatever, but im not sure about reducing the image quality - and if it actually works properly.

Has anyone done this before? Any thoughts?

Thanks

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

posted posted 05-25-2004 01:35

You wouldn't be able to do this with PHP per se, you would use something like ImageMagik.

http://www.freealter.org/doc_distrib/ImageMagick-5.1.1/www/miff.html

You would be able to set the compression algorithm to JPEG and then change the compression quality. It should be just as easy as doing any other kind of ImageMagik type image manipulation.

H][RO
Bipolar (III) Inmate

From: Australia
Insane since: Oct 2002

posted posted 05-25-2004 04:19

Oh, has to be installed on the server ..

I cant see any pricing on there is it a free program? Oh well back to the drawing board, i guess its really not possible to do it with out an app which makes sense, maybe ill get away with resizing the pic.

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

posted posted 05-25-2004 04:34

It is a free opensource product. I must ask how are you resizing the picture? Are you using GD? Php doesn't really handle images on its own. Thats is at least how I remember it.

GD does the same type of thing as ImageMagik (often GD is installed where ImageMagik isn't).

But if you have GD as a part of your installation you can easily use the

imagejpeg function which has a third arguement overloaded to allow you to set image quality.

JKMabry
Maniac (V) Inmate

From: raht cheah
Insane since: Aug 2000

posted posted 05-25-2004 04:59

http://netpbm.sourceforge.net/ is a good option if you don't have access to GD or ImageMagik. You can upload them yourself to your web directory and CHMOD them to 755 and they'll go.

H][RO
Bipolar (III) Inmate

From: Australia
Insane since: Oct 2002

posted posted 05-25-2004 05:24

Ahh, well i havnt physically played around with it yet, just looking at the options. I guess the problem is i dont have alot of control over the server, and would rather come up with a solution that doesnt require installing something.

But not sure if thats possible

H][RO
Bipolar (III) Inmate

From: Australia
Insane since: Oct 2002

posted posted 05-31-2004 08:00

Do you guys know which of these (if any) do not require an install and can be run from the command prompt?

What i need is to be able to resize images from the command prompt, without having to install any software on the pc.

I cant seem to download image majik or the netpbm... 404 on the netpbm and imagemajik just locks up the whole browser when i try to download T.T

« BackwardsOnwards »

Show Forum Drop Down Menu