uot;,
fill=>'#FF');
While
$bg->Draw(primitive=>'rectangle',stroke=>'red',points=>"100,100,980,980",
fill=>'#00');
<https://imagemagick.org/script/color.php>
See hex color converter:
https://www.rapidtables.com/convert/
On 27.04.22 14:54, mick crane wrote:
would result in outlines of 2 rectangles overlaid on white.
but with bookworm same thing results in 2 rectangles filled with black.
to get same result have to change to
$bg->Draw(primitive=>'rectangle',stroke=>'red',points=>"100,100
980,980",fill=>'false');
with bullseye previous Perl script
use Graphics::Magick;
my $bg=Graphics::Magick->new;
$bg->Set(size=>"1000"."x"."1000");
$bg->ReadImage('xc:white');
$bg->Draw(primitive=>'rectangle',stroke=>'red',points=>
On 2019-04-10 10:41, Curt wrote:
On 2019-04-10, mick crane wrote:
How do I install PerlMagick as a subordinate package of GraphicsMagick
?
apt search perlmagick
perlmagick/testing,testing 8:6.9.10.23+dfsg-2 all
Perl interface to ImageMagick -- dummy package
I believe what you need now
On 2019-04-10, mick crane wrote:
>
> How do I install PerlMagick as a subordinate package of GraphicsMagick ?
>
> apt search perlmagick
> perlmagick/testing,testing 8:6.9.10.23+dfsg-2 all
>Perl interface to ImageMagick -- dummy package
I believe what you need now is 'libimage-magick-perl'.
h
s seemed a little clearer
Graphics::Magick doesn't seem to be on cpan
installed graphicsmagick with apt
the graphicmagick webpage says
"PerlMagick is installed by default by installing GraphicsMagick.
Installing PerlMagick as a subordinate package of GraphicsMagick is
the best way to avoi
I don't know if you are supposed to get this perl stuff with apt or from
cpan.
got Image::Imlib2 to do useful things
and I have Image::Magick but I'm struggling translating the syntax from
ImageMagick to Image::Magick
the GraphicsMagick web pages seemed a little clearer
Graphi
7 matches
Mail list logo