.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man v6.0.2 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" .\" Required to disable full justification in groff 1.23.0. .if n .ds AD l .\" ======================================================================== .\" .IX Title "PDF::Builder::Resource::XObject::Image::GIF 3" .TH PDF::Builder::Resource::XObject::Image::GIF 3 2026-02-08 "perl v5.42.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME PDF::Builder::Resource::XObject::Image::GIF \- Support routines for GIF image library .PP Inherits from PDF::Builder::Resource::XObject::Image .SS History .IX Subsection "History" GIF89a Specification: https://www.w3.org/Graphics/GIF/spec\-gif89a.txt .PP A fairly thorough description of the GIF format may be found in . .PP Code originally from PDF::Create, PDF::Image::GIFImage \- GIF image support Author: Michael Gross .SH "Supported Formats" .IX Header "Supported Formats" GIF87a and GIF89a headers are supported. The Image block (x2C) is supported. .PP The Graphic Control Extension block (x21 + xF9) is supported for transparency control. Animation is not supported. .PP The Comment Extension block (x21 + xFE), Plain Text Extension block (x21 + x01), and Application Extension block (x21 + xFF) are read, but ignored. Any other block or Extension block will be flagged as an error. .PP If given, Local Color Tables are read and used, supposedly permitting more than 256 colors to be used overall in the image (despite the 8 bit color table depth). .SS Options .IX Subsection "Options" .IP notrans 4 .IX Item "notrans" When defined and not 0, \f(CW\*(C`notrans\*(C'\fR suppresses the use of transparency if such is defined in the GIF file. .IP "name => \*(Aqstring\*(Aq" 4 .IX Item "name => 'string'" This is the name you can give for the GIF image object. The default is Gxnnnn. .IP multi 4 .IX Item "multi" When defined and not 0, \f(CW\*(C`multi\*(C'\fR continues processing past the end of the first Image Block. The old behavior, which is now the default, is to stop processing at the end of the first Image Block. .SH METHODS .IX Header "METHODS" .SS new .IX Subsection "new" .Vb 1 \& PDF::Builder::Resource::XObject::Image::GIF\->new() .Ve .Sp .RS 4 Create an image object from a GIF input file. Remember that this should be invoked via the Builder.pm method! .RE