Transparent image operations

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
umitdogan

Transparent image operations

Post by umitdogan »

Hi all,
I have spent hours with working magicwand. But there is not enough information on the net.
So I hope someone can me give me some tricks and tips.
Well, all i want to do is.
1-Create blank transparent image.
2-Add new images on it, rotate(without anybackgound), scale them to width and height.
3-Add some text items, rotate, scale them to desired width and height.
But I could not manage to add more than one image to base image.
I cound not manage to rotate added image without any backgound(i.e. transparent)
I will be very glad for responses.
Thank you.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Transparent image operations

Post by fmw42 »

I am sorry, but I know nothing about using IM with the PHP API.

With regard to adding images to a background, see the following recent post with Anthony's excellent solution for adding multiple images to a black background. Just chance black to the work "none". Then use different images in place of +clone.

With regard to rotating and having a transparent background, do the same kind of thing, namely,

convert <image> -background none -rotate xx <result>

Hope that helps.


Fred
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Transparent image operations

Post by anthony »

The problem is that the people who make use of MagicWand, don't publish information that much. There are very few examples, and help. Mind you before I started IM Examples for the command line, that was in the same boat.

Thanks to those examples IM has grown with a huge influx of people making use of the package. unfortunately we are not getting the same influx for C programming, that is needed to help IM develop quicker. It's just not as sexy as some of the other packages with a graphical interface.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Transparent image operations

Post by fmw42 »

try posting to the magicwand forum viewforum.php?f=6
Post Reply