magicWand resizing

Luca Santini <[email protected]>
Newsgroups gmane.comp.video.image-magick.user
Message-ID <[email protected]>
Hi all,
i'm new to imagemagick & magicWand ...

i need to rescale some photos from camera resolution (typically >3Mpix) to fit in a (small) 272x480 vertical display.
My platform is 450Mhz embedded cpu with 128MB ram.

i tried using

status=MagickReadImage(magick_wand,name);
  /*name was a .jpg*/
wResized = 	MagickTransformImage(magick_wand,"0x0","272x480");
status=MagickWriteImages(wResized,out,MagickTrue);
   /*out was a .png*/

but it took a lot of time (> 10 seconds)
and in some cases i experienced "out of memory" error.

what's the *fastest* way to do it ?

regards,
L.
-- 
*Luca  Santini*
//Elettronica di Sistema//

*SPES. S.c.p.a*
Via  Lamberto Corsi, 43
60044 Fabriano (AN)
tel. +39 0732 25291 diretto 0732 25451
fax +39 0732 2529441
[email protected] <mailto:[email protected]>
www.spesonline.com <http://www.spesonline.com>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.