---
name: "Image::Info::GIF"
section: "3pm"
platform: "linux"
package: "perl-image-info"
version: "1.45-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/Image::Info::GIF"
---

# Image::Info::GIF(3pm)

Graphics Interchange Format support for Image::Info

## NAME

Image::Info::GIF - Graphics Interchange Format support for Image::Info

## SYNOPSIS

```
 use Image::Info 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
