examples/iv.pl - an image viewer program
Demonstrates usage of the image subsystem, in particular:
Standard image open dialog. Note its behavior with the multi-frame images, namely the possibility to select and load a single frame.
Standard image save dialog. Note the usage of the graphic filters and the ability to save images in base64-encoded format for hardcoded storage.
Image conversion routines
Standard Prima::ImageViewer class.
Tests the correct implementation of the internal image paint routines, in particular on the paletted displays and the representation of 1-bit images/icons with non-BW palette.
Note the mouse wheel scrolling.
To install Prima, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Prima
CPAN shell
perl -MCPAN -e shell install Prima
For more information on module installation, please visit the detailed CPAN module installation guide.