Replies: 1 comment 1 reply
-
I believe you'll want to get the from wand.image import Image
with Image(filename="rose.png") as img:
img.trim()
myGeo = img.size + img.page[2:] #=> (70, 46, 100, 75)
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I need to find out where abouts on my image canvas is my image following a trim.
How can I determine the image position on the canvas, using Wand.
The reason is that I have a fixed camera on a rig, but there may be some mechanical slippage, I want to use the offset of the image to calculate compensations to the rig's motion (i.e increase or decrease motor drive parameters).
I think I'm looking for something that I can plug into parse_meta_geometry().
Thanks
Beta Was this translation helpful? Give feedback.
All reactions