Code: Select all
std::list<Magick::Image> images;
readImages( &images, "uploaded file" );
if (images.size()==1) {
//process as single image
}
else {
//process multiple frames
}
Code: Select all
std::list<Magick::Image> images;
readImages( &images, "uploaded file" );
if (images.size()==1) {
//process as single image
}
else {
//process multiple frames
}