in reply to Imager transparent background instead of black
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);
|
|---|