Search found 5 matches

by jmm72
2017-02-22T05:28:28-07:00
Forum: MagickWand
Topic: How to know if image is fully opaque
Replies: 2
Views: 7190

Re: How to know if image is fully opaque

I'm doing it with PascalMagick, so I'm limited to whatever is translated from the headers of MagickWand interface. I guess I'm having to do it myself with iterating through pixels. I guess it'll be about the same speed, I just wanted an easy way through an already made function. Thanks.
by jmm72
2017-02-21T17:16:57-07:00
Forum: MagickWand
Topic: How to know if image is fully opaque
Replies: 2
Views: 7190

How to know if image is fully opaque

Hello everyone. I used to list images with a batch file specifying %[type] and %[opaque] (returns true if all pixels are fully opaque, false otherwise) in -format. If image was TrueColorAlpha and opacity was true, then the alpha channel was empty (fully opaque image) and could be discarded. I want t...
by jmm72
2017-02-21T17:05:43-07:00
Forum: MagickWand
Topic: Getting hash with MagickGetImageSignature from a multipage image
Replies: 4
Views: 6429

Re: Getting hash with MagickGetImageSignature from a multipage image

I should retract, the formula I gave is good for two hashes, but not for large amounts. Probably by the reason you stated, the more hashes are combined this way, the less bits from the first hash are kept until they disappear. Different values of m depends on what are you doing with the resulting nu...
by jmm72
2017-02-18T08:41:35-07:00
Forum: MagickWand
Topic: Getting hash with MagickGetImageSignature from a multipage image
Replies: 4
Views: 6429

Re: Getting hash with MagickGetImageSignature from a multipage image

Thanks for confirming. Although combining the images would be the "right" way to proceed, I didn't want to make any post-processing to the images to save time. Instead, I thought of combining the hashes of each image in some way. In case someone else has the same dilemma, here are my results. After ...
by jmm72
2017-02-17T07:16:04-07:00
Forum: MagickWand
Topic: Getting hash with MagickGetImageSignature from a multipage image
Replies: 4
Views: 6429

Getting hash with MagickGetImageSignature from a multipage image

Long time user of ImageMagick, first time developing with MagickWand. I'm getting the hashes of lots of images, but I'm having a problem with multipage images like GIF animations. I just thought that MagickGetImageSignature would compute the hash of all the images in the wand, but it only calculates...