[magick-users] About Grabbing Multiple Files

Kelvin Park kelvinpark86 at gmail.com
Wed Jun 27 20:21:24 PDT 2007


How do you grab multiple image files and extract/store their names on an
array? (with magick++)

Accomplished this with PHP MagickWand,

<?php
// Get the image
$mgk_wnd1 = NewMagickWand();
MagickReadImages($mgk_wnd1, $img_name = glob("*.gif"));
?>

$img_name is an array that contains all the .gif files that was stored in
the local folder.
I'm looking for a similar function in magick++ (c++).

Thanks.


More information about the Magick-users mailing list