1CountColor(3) User Contributed Perl Documentation CountColor(3)
2
3
4
6 Imager::CountColor - demonstrates writing a simple function using
7 Imager.
8
10 use Imager;
11 use Imager::CountColor;
12 my $im = Imager->new(...); # some Imager image
13 ...; # some sort of manipulation
14 print count_color($im, $color_object);
15
17 This module is a simple demonstration of how to create an XS module
18 that works with Imager objects.
19
20 You may want to copy the source for this module as a start.
21
23 Imager, Imager::Filter::DynTest
24
26 Tony Cook <tonyc@cpan.org>
27
28
29
30perl v5.38.0 2023-07-20 CountColor(3)