Search found 3 matches

by Shiro
2016-12-19T13:31:59+00:00
Forum: MagickWand
Topic: Thumbnail gif
Replies: 0
Views: 22588

Thumbnail gif

Hello! How to thumbnail gif file? I need only first frame. Here code(error checking is omitted): MagickWand *m_wand = NULL; MagickWandGenesis(); m_wand = NewMagickWand(); MagickReadImage(m_wand, "test.gif"); MagickThumbnailImage(m_wand, 100, 100); MagickWriteImage(m_wand, "output.jpeg...
by Shiro
2016-12-19T13:11:14+00:00
Forum: MagickWand
Topic: How to check image is opaque?
Replies: 2
Views: 15510

Re: How to check image is opaque?

magick wrote:MagickGetImageAlphaChannel() returns MagickFalse if the image alpha channel is not activated. That is, the image is RGB rather than RGBA or CMYK rather than CMYKA.
Thanks!
by Shiro
2016-12-19T12:26:09+00:00
Forum: MagickWand
Topic: How to check image is opaque?
Replies: 2
Views: 15510

How to check image is opaque?

I see in MagickCore have method

Code: Select all

IsImageOpaque
but i dont find simular function in Wand. Of course, it's low level operation, but i want to check current wand.
Or MagicCore is the best and only option to achieve this?