Imager::Filter::Sepia - filter that convert to sepia tone. |
Imager::Filter::Sepia - filter that convert to sepia tone.
use Imager; use Imager::Filter::Sepia;
$img->filter(type => 'sepia'); # or if you set color tone $img->filter(type => 'sepia', tone => Imager::Color->new('#FF0000'));
This is a sepia tone filter can specify color tone of Imager.
Valid filter parameters are:
sepia()
Imager, the Imager::Color manpage, the Imager::API manpage, the Imager::APIRef manpage, http://imager.perl.org/
Yoshiki KURIHARA <kurihara __at__ cpan.org>
Copyright (c) 2006, Yoshiki KURIHARA <kurihara __at__ cpan.org>
. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See the perlartistic manpage.
Imager::Filter::Sepia - filter that convert to sepia tone. |