Alex Schuster on wrote...
| Hi there!
|
| I am generating PostScript output with convert, and I like them to
| have a title. I do this with -label. Is there a way to center the
| title, or to align to the right?
|
Yes -gravity north to center the title at the top of the image.
For example
convert -size 320x60 xc:lightblue -fill blue -gravity North \
-annotate 0 'Hello Cruel World' annotate.gif
I have been pushing for a separate justification setting that
is semi-linked to -gravity positioning when unset.
| I guess I should go with the -title option.
|
That is only for montage images. (Eg an index image for lots of other
images)
| with this (didn't try longer, though), and with low image resolution
| the title probably gets rendered in bad resolution, too.
|
Even at low resolution the font should render well. The only time that
is not the case is when drawing on a transparent background and saving
to GIF or XPM which does not allow semi-transparent pixels.
| I could increase the resolution with another conversion maybe, but I
| thought I'd aske here before, maybe I'm overlooking a simpler method.
|
See.. IM Examples Postscript
http://www.cit.gu.edu.au/~anthony/graphics/imagick6/text/#postscript
Where I talk about using -density to increase the postscript conversion
to image, specifically to improve anti-aliasing.
Drawn text does not have that same problem.
Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]>
-----------------------------------------------------------------------------
An' then [EMAIL PROTECTED], he come scramblin' outta the terminal room
screamin' "The system's crashing! The system's crashing!
--- Uncle RAMus, 'Tales for Cyberpsychotic Children'
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users