Thanks Fred. I can confirm I got it to work!
So this is what I did:
convert frame.tif -fill black -colorize 100%% frame.tif
convert frame.tif -channel a -evaluate multiply 0.6 +channel result.tif
I had to add the additional line of code to your last suggestion. This way there is a opacity with the black border and not opacity against the original image.
Thanks for your help!
Windows equivalent of: -fill "black(25%)" -colorize 100
Re: Windows equivalent of: -fill "black(25%)" -colorize 100
Thanks Fred. I can confirm I got it to work!
So this is what I did:
convert frame.tif -fill black -colorize 100%% frame.tif
convert frame.tif -channel a -evaluate multiply 0.6 +channel result.tif
I had to add the additional line of code to your last suggestion. This way there is a opacity with the black border and not opacity against the original image.
Thanks for your help!
So this is what I did:
convert frame.tif -fill black -colorize 100%% frame.tif
convert frame.tif -channel a -evaluate multiply 0.6 +channel result.tif
I had to add the additional line of code to your last suggestion. This way there is a opacity with the black border and not opacity against the original image.
Thanks for your help!
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Windows equivalent of: -fill "black(25%)" -colorize 100
Sorry, I still do not understand. If you explain what you want to happen in the center where it is now fully transparent and what you want to happen on the border, then perhaps I can suggest something better. What are you going to do with the result.tif afterwards? Are you going to impose that over some background image? What is you final objective.?
Re: Windows equivalent of: -fill "black(25%)" -colorize 100
The final objective was creating a drop shadow. I am aware there is a drop shadow command but wanted to give this a try. Basically I will take the output as described, offset it, then composite the original image on top.