Image::ParseGIF can parse a GIF image into its compenent parts. SYNOPSIS use Image::ParseGIF; $gif = new Image::ParseGIF
Image::ParseGIF can parse a GIF image into its compenent parts.
$gif = new Image::ParseGIF ("image.gif") or die "failed to parse: $@n";
# write out a deanimated version, showing only the first frame
# same again, manually printing each part
# or, without passing scalars around:
# send an animated gif frame by frame
# - makes for a progress bar which really means something
$gif = new Image::ParseGIF ("progress.gif") or die "failed to parse: $@n";
$gif->print_percent(0.00); # starting...
$gif->print_percent(0.10); # 10% complete
$gif->print_percent(0.25); # 25% complete
$gif->print_percent(0.70); # 70% complete
$gif->print_percent(1.00); # done!
This module parses a Graphics Interchange Format (GIF) image into its component 'parts'. A GIF is essentially made up of one or more images - multiple images typically are used for animated gifs.
tags gif print print percent image parsegif some work print gif print trailer header gif print header die failed gif image image into into its gif new
Download Image::ParseGIF 0.2
Other software in this category
- Desktop Environment
- Science and Engineering
- Text Editing&Processing