1ICO(3) User Contributed Perl Documentation ICO(3)
2
3
4
6 Imager::File::ICO - read MS Icon files
7
9 use Imager;
10
11 my $img = Imager->new;
12 $img->read(file=>"foo.ico")
13 or die $img->errstr;
14
15 my @imgs = Imager->read_multi(file => "foo.ico")
16 or die Imager->errstr;
17
18 $img->write(file => "foo.ico")
19 or die $img->errstr;
20
21 Imager->write_multi({ file => "foo.ico" }, @imgs)
22 or die Imager->errstr;
23
25 Imager's MS Icon support is documented in Imager::Files.
26
28 Tony Cook <tony@imager.perl.org>
29
31 Imager, Imager::Files.
32
33
34
35perl v5.8.8 2008-05-09 ICO(3)