Nope, sorry.. -1,0 for example is a pixel position outside the image and is a valid position.
Gravity would be the way to do this except. SVG does not use graivity, and IM only uses gravity for image and text placement, but not for other draw methods.
matte fill with unknown image size
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/