tags:

views:

122

answers:

4

It's now 925*1139,I want to change it to 90*110.

A: 

here's a resizing class called SimpleImage that you can use. Or take a look at the source and see how they tackle the problem:

SimpleImage Code

GSto
A: 

Have you looked at this page:

GD and Image Functions

Perhaps these methods:

imagecopyresized, imagecopyresampled

Rew
+2  A: 

try the imagecopyresampled PHP function or the imagecopyresized function from the GD library.

Patrice Bernassola
Are the two alias?
Mask
The first one, as its name indicates, resampled while resizing for a better result. The second one only resize.
Patrice Bernassola
A: 

I haven't done PHP in a while (why am I even in this tag?) but you should check out GDLib. iirc, its better integrated than imagemagick.

http://php.net/manual/en/book.image.php

Oren Mazor