DOKK / manpages / debian 12 / libimager-perl / Imager::File::SGI.3pm.en
SGI(3pm) User Contributed Perl Documentation SGI(3pm)

Imager::File::ICO - read MS Icon files

  use Imager;
  my $img = Imager->new;
  $img->read(file=>"foo.ico")
    or die $img->errstr;
  my @imgs = Imager->read_multi(file => "foo.ico")
    or die Imager->errstr;
  $img->write(file => "foo.ico")
    or die $img->errstr;
  Imager->write_multi({ file => "foo.ico" }, @imgs)
    or die Imager->errstr;

Imager's MS Icon support is documented in Imager::Files.

Tony Cook <tonyc@cpan.org>

Imager, Imager::Files.

2023-01-11 perl v5.36.0