ICC-Profile

 view release on metacpan or  search on metacpan

pod/ICC/Shared.pod  view on Meta::CPAN


B<Examples>


=head1 CONSTANTS

=head2 Perl handling of constants

Perl's C<constant> pragma is used to make the following constants. These are actually subroutines, created at compile time.
Their values cannot be altered, so they are effectively constants. Because they are subroutines, there are no sigils, which
occasionally leads to ambiguity. This can be resolved by enclosing the constant in parentheses (see example below).

=head3 D50

D50 illuminant XYZ values, as specified by the ICC (based on the CIE 1931 2 degree observer)

Note that the ICC values for D50 ([96.42, 100, 82.49]) are slightly different from the CIE values ([96.42, 100, 82.51]).

B<Examples>

    $XYZ = D50; # vector

    $Z = D50->[2]; # Z value

    @XYZ = @{(D50)}; # array, note the parentheses

    @XYZ = Lab2XYZ(@Lab, D50); # use as white point to change encoding

=head3 d50

D50 illuminant XYZ values, encoded as 32-bit ICC XYZNumber, [0.9624, 1, 0.8249].

=head3 d50P

D50 illuminant XYZ values, encoded as 16-bit ICC XYZ, approximately [0.48211, 0.50001, 0.41246].

=head3 PI

circumference of a unit circle, approximately 3.14159

=head3 radian

degrees in a radian, approximately 57.29578

=head3 ln10

natural logarithm of 10, approximately 2.30258

=head1 SEE ALSO

=head2 ASTM Standards

B<ASTM E 2022> I<Standard Practice for Calculation of Weighting Factors for Tristimulus Integration>

=head2 CIE Standards

B<CIE 15> I<Colorimetry>

=head2 DIN Standards

B<DIN 6176> I<Colorimetric evaluation of colour differences of surface colours according to DIN99 formula>

=head2 ICC Specification

The ICC (International Color Consortium) maintains a web site at L<http://www.color.org>
The ICC specification and related materials may be downloaded from this web site.

The ICC specification is also published as ISO 15076-1.

=head2 ISO Standards

B<ISO 15076-1> I<Image technology colour management — Architecture, profile format and data structure — Part 1: Based on ICC.1:2010>

=head1 LICENSE

Programs in this distribution, authored by William B. Birkett, are licensed under the GNU General Public License, v3.

See L<http://www.gnu.org/licenses/gpl.html> for license details.

=head1 AUTHOR

William B. Birkett, E<lt>wbirkett@doplganger.comE<gt>

=head1 COPYRIGHT

Copyright E<0x00A9> 2004-2018 by William B. Birkett

=cut



( run in 0.453 second using v1.01-cache-2.11-cpan-5735350b133 )