Hello Team,
Can any one please let me know how can I do the below operation for a single PNG image in Imagick / ImageMagick?
"Set blending mode as "screen" and opacity to 50%"
Note: I did that with the two different images using "compositeImage" Imagick function but in this I need two layers/Images and now I need to do the mentioned setting in single PNG or any other type Image.
Thanks in advanced.
Set blending mode as "screen" and opacity to 50%
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Set blending mode as "screen" and opacity to 50%
At the command line, use "-compose Screen". In IMagick, the mode is a parameter of the compositeImage() function. See http://phpimagick.com/Imagick/compositeImage
To set opacity to anything, use "-evaluate set" at the command line, and evaluateImage() in IMagick.
To set opacity to anything, use "-evaluate set" at the command line, and evaluateImage() in IMagick.
snibgo's IM pages: im.snibgo.com
Re: Set blending mode as "screen" and opacity to 50%
Hello Snigbo,
I have used and checked both the Imagick functions.
I need to know how to Set blending mode as "screen" for a single image because the sample link is used two different images and same I already used with two images.
Please suggest if I can used "Screen" blending more with one image?
I have used and checked both the Imagick functions.
I need to know how to Set blending mode as "screen" for a single image because the sample link is used two different images and same I already used with two images.
Please suggest if I can used "Screen" blending more with one image?
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Set blending mode as "screen" and opacity to 50%
I don't know what that means. If you set a blending mode for a single image, what do you expect to happen? Do you expect that this will change the image somehow?mjamal wrote:I need to know how to Set blending mode as "screen" for a single image...
snibgo's IM pages: im.snibgo.com
Re: Set blending mode as "screen" and opacity to 50%
Not sure what will happen if applying blending mode as "screen" on single image.
I think there will be no effect on single image if applying blending mode as "screen".
I think there will be no effect on single image if applying blending mode as "screen".