English 中文(简体)
左翼和右边的图像梯度
原标题:Imagemagick gradient from left and right

我想利用《图像》,在左边添加一个透明的梯度,并有权形成一个形象。

我可以产生以下形象:

convert -size 100x100 gradient: -function Polynomial -4,4,0 -distort SRT 90 gradient.png

它希望:

“transdou

我还能够把这一形象 compos在我所希望的形象之上:

composite original.jpg -compose Multiply gradient.png final_image.jpg

“final

所有这一切都处以罚款。 我的问题在于,我如何改变这种越权主义的图象?

感谢!

最佳回答

以此为主

convert input.jpg -alpha set -virtual-pixel transparent -background red -channel A -blur 0x34 -level 75%,100% +channel -flatten final.jpg

在我的案件中,我:

“entergraph

问题回答

在<代码>梯度:选择后添加 com-相左的颜色:

convert -size 100x100 gradient:white,blue -function Polynomial -4,4,0 -distort SRT 90 gradient.png

注:<代码>-功能 转播渠道,梯度的这种颜色也是原样。





相关问题
Ruby parser in Java

The project I m doing is written in Java and parsers source code files. (Java src up to now). Now I d like to enable parsing Ruby code as well. Therefore I am looking for a parser in Java that parses ...

rails collection_select vs. select

collection_select and select Rails helpers: Which one should I use? I can t see a difference in both ways. Both helpers take a collection and generates options tags inside a select tag. Is there a ...

RubyCAS-Client question: Rails

I ve installed RubyCAS-Client version 2.1.0 as a plugin within a rails app. It s working, but I d like to remove the ?ticket= in the url. Is this possible?

Ordering a hash to xml: Rails

I m building an xml document from a hash. The xml attributes need to be in order. How can this be accomplished? hash.to_xml

multiple ruby extension modules under one directory

Can sources for discrete ruby extension modules live in the same directory, controlled by the same extconf.rb script? Background: I ve a project with two extension modules, foo.so and bar.so which ...

Text Editor for Ruby-on-Rails

guys which text editor is good for Rubyonrails? i m using Windows and i was using E-Texteditor but its not free n its expired now can anyone plese tell me any free texteditor? n which one is best an ...

热门标签