how square an image?

The MagickWand interface is a new high-level C API interface to ImageMagick core methods. We discourage the use of the core methods and encourage the use of this API instead. Post MagickWand questions, bug reports, and suggestions to this forum.
Post Reply
honof1111

how square an image?

Post by honof1111 » 2007-05-29T07:07:05-07:00

How can I share an image?

with image.scale ?
thank

honof1111

Re: how square an image?

Post by honof1111 » 2007-05-29T07:11:17-07:00

ok! !!

Code: Select all

image.read( "pippo.jpg" ); 

Geometry geom(64,64,0,0);
geom.aspect(true);

image.sample(geom);   

image.write( "antonio.jpg" ); 

Post Reply