Non-verbose version of MagickIdentifyImage?

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
rmagick
Posts: 245
Joined: 2006-03-16T17:30:48-07:00
Location: Durham, NC, USA

Non-verbose version of MagickIdentifyImage?

Post by rmagick »

A MagickWand API question: If I'm reading the source correctly, the output from MagickIdentifyImage is always the verbose output. Is there a non-verbose version of this method?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Non-verbose version of MagickIdentifyImage?

Post by magick »

You can always call MagickCore methods from the MagickWand API. Open a file for output and call:
  • Image *image=GetImageFromMagickWand(wand);
    status=IdentifyImage(image,file,MagickFalse);
rmagick
Posts: 245
Joined: 2006-03-16T17:30:48-07:00
Location: Durham, NC, USA

Re: Non-verbose version of MagickIdentifyImage?

Post by rmagick »

Thanks. Can do.
Post Reply