Seamless blending #629
druzhynin-oleksii
started this conversation in
Show and tell
Replies: 1 comment 2 replies
-
|
This matches the CLI without all the unnecessary steps. from wand.image import Image
with Image(filename='larger_img.png') as img:
with Image(filename='fit_smaller.png') as subject:
subject.morphology(method='erode', kernel='disk:3', channel='alpha')
img.composite(subject, operator='seamless_blend')
img.save(filename='target.png') |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
larger_img.png

fit_smaller.png

see results: ImageMagick/ImageMagick#6578
Beta Was this translation helpful? Give feedback.
All reactions