Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

Imager::Filter::RoundedCorner
Make nifty images with Imager

Imager::Filter::RoundedCorner - Make nifty images with Imager


NAME

Imager::Filter::RoundedCorner - Make nifty images with Imager


SYNOPSIS


    use Imager;

    use Imager::Filter::RoundedCorner;

    

    my $image = Imager->new;

    $image->read( file => 'source.jpg' );

    

    $image->filter(

        type   => 'rounded_corner',

        radius => 10,

        bg     => '#ffffff'

    );

    

    $image->write( file => 'dest.jpg' );


DESCRIPTION

This filter fill image's corner with 'bg' color as rounded corner.

Filter parameters are:

radius
corner's radius

bg
background color

aa
antialias flag. 1 = on (default: 0)

border_width
border width (default: 0)

border_color
border color (default: #000000)


SUBROUTINES

round_corner


AUTHOR

Daisuke Murase <typester@cpan.org>


COPYRIGHT

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy