Search found 2 matches

by MouseMan
2012-08-14T19:34:05-07:00
Forum: PerlMagick
Topic: PerlMagick Equivalent for -define png:color-type
Replies: 1
Views: 8516

Re: PerlMagick Equivalent for -define png:color-type

Found the syntax from the hint at viewtopic.php?f=7&t=21088&p=85549&hilit=define#p85549

Code: Select all

$blank->Set('png:color-type'=>'2');
by MouseMan
2012-08-14T17:16:34-07:00
Forum: PerlMagick
Topic: PerlMagick Equivalent for -define png:color-type
Replies: 1
Views: 8516

PerlMagick Equivalent for -define png:color-type

At the command line, the following creates a white image in PNG format with the desired bit depth and color type for my application: convert -size 500x500 -type TrueColor -define png:color-type=2 canvas:white ick.png How do I do the same with PerlMagick? The following doesn't work, because libpng ba...