On Fri, 8 May 2009 17:02:35 -0700
"JC Nolan" <[email protected]> wrote:

| I have a command which I developed under 6 which creates a nice raised
| image in IMGK6:
| 
|  
| 
| convert -size 252x80 -background none -font a010015l.pfb -fill white
| -gravity center caption:"This is a test" -shade 240x40  texttest.png
| 
|  
| 
| Unfortunately, if does not seem to function the same under v5, where
| rather than expanding the font to fit the image, the font is small and
| not centered (stuffed in the upper left-hand corner).  Also, the
| background does not appear to be purely "clear" as a later merging
| option distorts the source in a way it does not under 6.
| 
|  
| 
| I am wondering, is there any way to execute this command under 5?  Or is
| it simply a bug that was fixed or improved in later versions?  We are
| working with 5 because the current version of 6 is twice as slow for our
| current needs.
| 
Imagemagick version 5 is extremely old (5 years I think now).  It does
not handle multiple operations in the one command very well, and their
has been an enormous number of improvements and additions since then.

For the major changes that forces the swicth from v5 to v6 see IM
Examples, Basics, The problem with previous versions of IM
   http://www.imagemagick.org/Usage/basics/#why

If you want to use IM v5 you make have to use multiple seperate commands
to be sure to get operations in the right order.

auto-fitting on fonts to a image size, was a IM version 6 addition




  Anthony Thyssen ( System Programmer )    <[email protected]>
 -----------------------------------------------------------------------------
     Do not meddle in the affairs of wizards;
                   they are subtle and quick to anger.
                                 -- Margret Wies & Tracy Hickman - "Elven Star"
 -----------------------------------------------------------------------------
     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

Reply via email to