# phpman > perldoc > Image::Info::GIF

## NAME
    [Image::Info::GIF](https://www.chedong.com/phpMan.php/perldoc/Image%3A%3AInfo%3A%3AGIF/markdown) - Graphics Interchange Format support for [Image::Info](https://www.chedong.com/phpMan.php/perldoc/Image%3A%3AInfo/markdown)

## SYNOPSIS
     use [Image::Info](https://www.chedong.com/phpMan.php/perldoc/Image%3A%3AInfo/markdown) qw(image_info dim);

     my $info = image_info("image.gif");
     if (my $error = $info->{error}) {
         die "Can't parse image info: $error\n";
     }
     my $color = $info->{color_type};

     my($w, $h) = dim($info);

## DESCRIPTION
    This module supplies the standard key names as well as

    GIF_Loop
        The Netscape-2.0 extension to loop animation sequences is represented by the GIF_Loop key
        for the first image. The value is either "forever" or a number indicating loop count.

    head1 METHODS

  process_file()
            $info->process_file($source, $options);

    Processes one file and sets the found info fields in the $info object.

## SEE ALSO
    [Image::Info](https://www.chedong.com/phpMan.php/perldoc/Image%3A%3AInfo/markdown)

