Hi all, I have a GIF image which I want to use as the fill pattern for another Image object, and then place on the main image; but all my tries failed so far.
Here is the steps that I'm currently using to place the pattern on an existing image. --- begins --- Color transparent(0, 0, 0, QuantumRange); Image tempFrame(backgroundImage); tempFrame.backgroundColor(transparent); gifImage.backgroundColor(transparent); tempFrame.fillPattern(gifImage); tempFrame.colorFuzz(35); tempFrame.draw(DrawableColor(pointX, pointY, FloodfillMethod)); mainImage.composite(tempFrame, CenterGravity, OverCompositeOp); --- ends --- The result of this process is almost the expected one, expect that the background of the GIF image file is not transparent, but Black. Any help would be appreciated. If I find the solution, I'll keep you guys updated. Thanks. _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
