Skip to content Skip to sidebar Skip to footer

How To Compose With Center Gravity In Pythonmagick

I did appreciate the answer by Orbling on .composite(): flattened.composite(img, 0, 0, PythonMagick.CompositeOperator.SrcOverCompositeOp) This is the form where the second image i

Solution 1:

(You know, sometimes the answer is obvious when you formulate the question precisely.)

The solution is:

flattened.composite(img, 
                    PythonMagick.GravityType.CenterGravity,            # this
                    PythonMagick.CompositeOperator.SrcOverCompositeOp)

Post a Comment for "How To Compose With Center Gravity In Pythonmagick"