Image::ParseGIF

Image::ParseGIF can parse a GIF image into its compenent parts.
Download

Image::ParseGIF Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Benjamin Low and Ed Halley
  • Publisher web site:
  • http://search.cpan.org/~benl/Image-ParseGIF-0.2/ParseGIF.pm

Image::ParseGIF Tags


Image::ParseGIF Description

Image::ParseGIF can parse a GIF image into its compenent parts. Image::ParseGIF can parse a GIF image into its compenent parts.SYNOPSIS use Image::ParseGIF; $gif = new Image::ParseGIF ("image.gif") or die "failed to parse: $@n"; # write out a deanimated version, showing only the first frame $gif->deanimate(0); # same again, manually printing each part print $gif->header; print $gif->part(0); print $gif->trailer; # or, without passing scalars around: $gif->print_header; $gif->print_part(0); $gif->print_trailer; # 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_header; $gif->print_percent(0.00); # starting... do_some_work_stage1(); $gif->print_percent(0.10); # 10% complete do_some_work_stage2(); $gif->print_percent(0.25); # 25% complete do_some_work_stage3(); $gif->print_percent(0.70); # 70% complete do_some_work_stage4(); $gif->print_percent(1.00); # done! $gif->print_trailer;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. Requirements: · Perl


Image::ParseGIF Related Software