![]() With this new information I converted your 6th command to this: $ convert traffic2.png -transparent "rgb(0,0,255)" traffic2.pngĪnd it appears to have worked. 'matte' or alpha channel enabled, to hold the transparency You will also need to ensure the image has a convert -density 100 -alpha remove -alpha off a.pdf 90-white. convert -density 300 -background \fffffe -alpha remove -alpha off a.pdf 300-fffffe.png Curiously, the rendering is better at low resolutions (while still not ideal) at least the text is readable. Will need to specify a "-channel" to include the alpha channel to makeĬolors transparent. Choosing any color other than white produces a decent result. As such, to convert a color (say blue) to transparency, you ![]() However as of IM v6.2.7, this operator is limited by the "-channel" This blurb is what caught my eye in section: "Replacing Colors in Images": I found this bit in the IM documentation, titled: ImageMagick v6 Examples -Ĭolor Basics and Channels. Your commands worked for me on Fedora 14 and CentOS 5
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |