Search found 10 matches
- 2016-01-22T08:59:47-07:00
- Forum: Developers
- Topic: Support for Pre-multiplied Alpha compositing
- Replies: 2
- Views: 4318
Re: Support for Pre-multiplied Alpha compositing
Hi fmw42. Please check my original post. I have elaborated there, pretty much as much as I can. Snigbo is trying to help me there. But they are not a c++ user, so they are mainly confused by my ramblings...
- 2016-01-22T08:55:54-07:00
- Forum: Magick++
- Topic: Support for Pre-multiplied Alpha compositing
- Replies: 12
- Views: 21305
Re: Support for Pre-multiplied Alpha compositing
Snigbo. I dont, this code, is a part of a larger app, written in C++, that uses OpenGL to display various Media. I am using ImageMagick for general image processing tasks.In this case, to generate text for overlaying in my main app. currentImage in my code, is a shared Magick::Image object, that ...
- 2016-01-21T14:03:59-07:00
- Forum: Magick++
- Topic: Support for Pre-multiplied Alpha compositing
- Replies: 12
- Views: 21305
Re: Support for Pre-multiplied Alpha compositing
Snigbo, I already have, as requested by an earlier post. See my post above, to whit... shadowImage = https://dl.dropbox.com/s/3xmm6zyxikem87r/shadowImage.png textImage = https://dl.dropbox.com/s/ibm750y2g47kf3z/textImage.png And the result of shadowImage.composite( textImage, int(-(shadowOffset * 0 ...
- 2016-01-21T12:45:52-07:00
- Forum: Magick++
- Topic: Support for Pre-multiplied Alpha compositing
- Replies: 12
- Views: 21305
Re: Support for Pre-multiplied Alpha compositing
Yes, its that "grey" outline that should not be there. Its not, if for example, I pass out image C, the white text...
- 2016-01-21T07:25:51-07:00
- Forum: Magick++
- Topic: Support for Pre-multiplied Alpha compositing
- Replies: 12
- Views: 21305
Re: Support for Pre-multiplied Alpha compositing
OK, Here is the full forensic breakdown.... A. Firstly we create a GREYSCALE black image, with white text on it. This will be used as an alpha channel for the text.... https://dl.dropboxusercontent.com/s/2k82madd5a664ae/textOpacity.png B. Then we create an RGB image, which will be the colour for the ...
- 2016-01-20T12:02:14-07:00
- Forum: Magick++
- Topic: Support for Pre-multiplied Alpha compositing
- Replies: 12
- Views: 21305
Re: Support for Pre-multiplied Alpha compositing
OK, sorry, trying to share using DropBox, not tried it before. Anyway, I have replaced the IMG links in the original post with new links to native DB share links. Please give these a try and let me know if these are working for you? In terms of software version, I am using 6.9.2-4, this is a custom ...
- 2016-01-20T09:28:35-07:00
- Forum: Developers
- Topic: Support for Pre-multiplied Alpha compositing
- Replies: 2
- Views: 4318
Support for Pre-multiplied Alpha compositing
Please see this post,
viewtopic.php?f=23&t=29015
Sorry, would have posted here, but I only spotted this Forum after posting initial query...
viewtopic.php?f=23&t=29015
Sorry, would have posted here, but I only spotted this Forum after posting initial query...
- 2016-01-20T09:15:46-07:00
- Forum: Magick++
- Topic: Support for Pre-multiplied Alpha compositing
- Replies: 12
- Views: 21305
Support for Pre-multiplied Alpha compositing
Hey, I ran into a rather bad issue using the Annotate feature of ImageMagick. I want to be able to use the Annotation feature to create labels, with a transparent background, and to then overlay these over other images in an app I am developing. here is an example of the basic issue. When you ...
- 2016-01-20T08:38:17-07:00
- Forum: Magick++
- Topic: How to Combine Image Channels
- Replies: 2
- Views: 11355
Re: How to Combine Image Channels
"In command line, you would use -compose copy_opacity -composite to put an image into the alpha channel. Sorry, I do not know how to do that in your API. But I would suspect it is done through the use of the composite equivalent in your API." Please see above, it shows how to do the operation in ...
- 2016-01-18T11:57:57-07:00
- Forum: Magick++
- Topic: How to Combine Image Channels
- Replies: 2
- Views: 11355
How to Combine Image Channels
Hey, I had something of an issues with the API's annotate method, with a black border appearing around its text, when it was composited over another images. As a result, I decided to create my own image, using the text as an alpha channel. This was a real pain, as how to combine channels in this API ...