-
-
08 Sep 2016 05:30:45 UTC
- Distribution: Imager-Filter-Bakumatsu
- Module version: 0.05
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (1)
- Testers (663 / 16 / 0)
- Kwalitee
Bus factor: 0- 50.00% Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (707.7KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors-
tomi-ru
NAME
Imager::Filter::Bakumatsu - Photo vintage filter
SYNOPSIS
use Imager; use Imager::Filter::Bakumatsu; my $img = Imager->new; $img->read(file => 'photo.jpg') or die $img->errstr; $img->filter(type => 'bakumatsu'); # photo is made old. $img->write(file => 'photo-bakumatsu.jpg') or die $img->errstr;
DESCRIPTION
Bakumatsu (幕末) is a name of the 19th century middle in the history of Japan. (http://en.wikipedia.org/wiki/Bakumatsu) This filter makes the photograph old likes taken in the Bakumatsu era.
FILTER
bakumatsu
$img->filter(type => 'bakumatsu');
- overlay_image
-
$img->filter(type => 'bakumatsu', overlay_image => '/foo/image.png');
Overlay image to cover (it should have alpha channel). default is: dist/share/BakumatsuTexture.png
AUTHOR
Naoki Tomita <tomita@cpan.org>
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
Original idea: http://labs.wanokoto.jp/olds, http://d.hatena.ne.jp/nitoyon/20080407/bakumatsu_hack
Test Page: http://bakumatsu.koneta.org/
Module Install Instructions
To install Imager::Filter::Bakumatsu, copy and paste the appropriate command in to your terminal.
cpanm Imager::Filter::Bakumatsu
perl -MCPAN -e shell install Imager::Filter::Bakumatsu
For more information on module installation, please visit the detailed CPAN module installation guide.