English 中文(简体)
How to create semi-transparent image using imagemagick
原标题:

I have a hex (i.e. #FF0000) color and want to generate 50% transparent 50x50 image using imagemagick from command line.

最佳回答

I had to figure out something similar when I was working with CSS 3 and RGBA.

convert -size 50x50  xc: rgba(255,0,0,0.5)  red_0.5_pixel.png
问题回答

暂无回答




相关问题
Non transparent image in transparent block

logo_area { background-color: #d9e670; filter:alpha(opacity=25); opacity:0.25; } and another div: #logo_image { background: url(../images/logo.png) no-repeat center 50%; } <div id="...

How to represent binary transparency?

Lately I ve been interested in representing uncompressed bitmaps in memory. However, one thing I m not sure how to implement properly is binary transparency. E.g., I start out with something like this:...

Transparent PNG in PictureBox

I am trying to make simple app that allows one to compare image to transparent PNG templates, by dragging the template over picture. For this I need a way to create a PictureBox that will contain the ...

Neither IE7 nor IE8 render PNG transparency

I ve got an element, an image, defined as instrument in css and for the life of me I cannot get it to properly display a png with transparency in IE7 or IE8 -- works fine in Safari and FF. I really ...

Hex colors: Numeric representation for "transparent"?

I am building a web CMS in which the user can choose colours for certain site elements. I would like to convert all colour values to hex to avoid any further formatting hassle ("rgb(x,y,z)" or named ...

PNG transparency in Interface Builder

I m adding an Image View in Interface Builder with a transparent PNG (A logo in the Navigation Bar) but the transparent pixels seems to render as white.. I searched for PNG in Interface Builder but ...

热门标签