Keeping tranparency when working from clipboard
Posted: 2009-09-03T20:52:23-07:00
Hello,
I am working with Imagemagick from powerpoint.
The problem I have is that I select a shape, say a disc for example nothing special. It has a transparent background.
I copy the shape and then ask ImageMagick to create a shadow using "clipboard:" as the source.
The problem is Imagemagick doesn't "see" the transparency and gives me a square shadow everytime.
By the way, I am having Imagemagick giving only the shadow back, so I don't do anything like flattening.
Also, if I export the shape as a png and work from there my code works perfectly, but from the clipboard, it works but no transparency.
I try to use api function to control the format in the clipboard but I am going nowhere. if anybody has any idea???
Any help would be much appreciated. Many thanks in advance.
I am working with Imagemagick from powerpoint.
The problem I have is that I select a shape, say a disc for example nothing special. It has a transparent background.
I copy the shape and then ask ImageMagick to create a shadow using "clipboard:" as the source.
The problem is Imagemagick doesn't "see" the transparency and gives me a square shadow everytime.
By the way, I am having Imagemagick giving only the shadow back, so I don't do anything like flattening.
Also, if I export the shape as a png and work from there my code works perfectly, but from the clipboard, it works but no transparency.
I try to use api function to control the format in the clipboard but I am going nowhere. if anybody has any idea???
Any help would be much appreciated. Many thanks in advance.