Discussion:
Drawing rotated text from Southeast corner
Ken Horton
2011-01-10 14:04:47 UTC
Permalink
I use imagemagick to process photo for web images that are typically
512x384. On landscape images (99% of my postings) I use the 'draw text'
command to add attribution to the Southwest corner and EXIF Date/Time to
Southeast. However, on portrait images this does not work (384x512). The
two texts runs together. So for portrait images I would like to add
annotation and date along the right margin using Southeast and Northeast
geometry respectively. The date appears positioned correct (although
scrunched in the corner), the attribution is blank. (I think it is actually
below the southeast corner of the canvas).

My workaround is to rotate the whole portrait image 90 degrees, use my
standard 'draw text' scripts (Southwest, southeast) , then rotate the image
270 degrees.

Is there a way to draw text anchored in the Southeast corner reading upward
with a 270 degree rotation in one step?
Thanks
Ken

Loading...