where $fill is The Imager::Fill object you want to modify, and the default opacity is 0.5. You can modify the opacity to get the level of tranparency that you want.#!/usr/bin/perl use strict; use warnings; use Imager; use Imager::Fill; my $fill = Imager::Fill->new(type => "opacity", other => $fill, opacity => 0.25);
In reply to Re: Imager transparent background instead of black
by Khen1950fx
in thread Imager transparent background instead of black
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |