Search found 4 matches

by TheZombieKiller
2015-04-28T04:10:57-07:00
Forum: Magick++
Topic: Applying alpha mask to image (C++)
Replies: 6
Views: 15772

Re: Applying alpha mask to image (C++)

Ah, that's simpler than how I was going to go about it (see edit above). Thanks a bunch!
by TheZombieKiller
2015-04-28T04:01:54-07:00
Forum: Magick++
Topic: Applying alpha mask to image (C++)
Replies: 6
Views: 15772

Re: Applying alpha mask to image (C++)

Sorry about that, I skimmed the page and didn't notice that part. What function is used in Magick++ to disable the alpha channel? All of this documentation seems to be for the command line utility, and not the API. EDIT: Nevermind, by typing out random names as guesses, I found the function names ...
by TheZombieKiller
2015-04-28T03:56:01-07:00
Forum: Magick++
Topic: Applying alpha mask to image (C++)
Replies: 6
Views: 15772

Re: Applying alpha mask to image (C++)

Using CopyOpacity seems to cause no change in the final image. Note that the mask image is not transparent, it is black and white. Current code: #include <iostream> #include <Magick++.h> void convertImage(std::string image) { // Read image Magick::Image base, mask; base.read(image); base.type(Magick ...
by TheZombieKiller
2015-04-28T02:59:46-07:00
Forum: Magick++
Topic: Applying alpha mask to image (C++)
Replies: 6
Views: 15772

Applying alpha mask to image (C++)

(Cross-post from StackOverflow, in the hopes that I'll get an answer either over there, or over here) I have an image, that has a sequence of two frames. The second frame is supposed to be an alpha mask for the first frame. Here is an example: http://i.imgur.com/c2M10u7.png I've written the ...