Page 1 of 1

how square an image?

Posted: 2007-05-29T07:07:05-07:00
by honof1111
How can I share an image?

with image.scale ?
thank

Re: how square an image?

Posted: 2007-05-29T07:11:17-07:00
by honof1111
ok! !!

Code: Select all

image.read( "pippo.jpg" ); 

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

image.sample(geom);   

image.write( "antonio.jpg" );