Discussion:
Vertical caption with convert
Salvatore De Paolis
2011-09-16 23:29:48 UTC
Permalink
Hi all,

i do have photos with width < height (when Orientation=6) and when i add the
caption it shows on the right side instead of the top.
There's a way to have a caption on the top for such kind of pictures?

Best regards,
Sal
Anthony Thyssen
2011-09-19 03:19:25 UTC
Permalink
On Sat, 17 Sep 2011 01:29:48 +0200
Salvatore De Paolis <***@libero.it> wrote:
| Hi all,
|
| i do have photos with width < height (when Orientation=6) and when i add the
| caption it shows on the right side instead of the top.
| There's a way to have a caption on the top for such kind of pictures?
|
As you are modifying the image doing ALL other work on the image at the
same time is a good idea. That includes removing rotations, cropping
and resizing.

Add the option -auto-orient after reading the image before adding the
caption to the photo, or any other operation.

This will rotate the image and adjust the orientation attribute
appropriately.

http://www.imagemagick.org/Usage/photos/#orient




Anthony Thyssen ( System Programmer ) <***@griffith.edu.au>
--------------------------------------------------------------------------
How many programmers does it take to change a light bulb?
None. It's a hardware problem.
--------------------------------------------------------------------------
Anthony's Castle http://www.ict.griffith.edu.au/anthony/

Continue reading on narkive:
Loading...