Interline Spacing format for PERL?

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Post Reply
johnfl68
Posts: 33
Joined: 2012-07-09T18:31:26-07:00
Authentication code: 13

Interline Spacing format for PERL?

Post by johnfl68 » 2018-03-28T12:40:52-07:00

Hello:

Does anyone know the correct context format for interline-spacing in PERL?

fill => $fontcolor1,
gravity => 'northwest',
font => $font1,
pointsize => 46,
interline-spacing => -20,
size => '1650x120'

I've tried interline-spacing and interlinespacing, etc.
Nothing seems to work.

Version: ImageMagick 6.8.9-9 Q16 x86_64 2017-07-31

I thought I have done this before, but not able to remember or find code with this in it now.

Thank you!
Last edited by johnfl68 on 2018-03-28T14:09:17-07:00, edited 1 time in total.

User avatar
fmw42
Posts: 23600
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Interline Spacing format for PERL?

Post by fmw42 » 2018-03-28T13:00:16-07:00

It may need to be added to PerlMagick, but that may mean you have to upgrade. If you are convinced it is not in PerlMagick, then make a request to the Developers forum.

johnfl68
Posts: 33
Joined: 2012-07-09T18:31:26-07:00
Authentication code: 13

Re: Interline Spacing format for PERL?

Post by johnfl68 » 2018-03-28T14:09:04-07:00

OK, I found the other code, it's one of those stupid quirks that can be so frustrating at times.

You have to have interline-spacing in single quotes to work.

The example below works:

fill => $fontcolor1,
gravity => 'northwest',
font => $font1,
pointsize => 46,
'interline-spacing' => -20,
size => '1650x120'

Post Reply