CTS logo
hazy blue Catskill Mountains in distance

A Thought…

Immanuel Kant was a real pissant
Who was very rarely stable

Heidegger, Heidegger was a boozy beggar
Who could think you under the table

David Hume could out-consume
Wilhelm Freidrich Hegel

And Wittgenstein was a beery swine
Who was just as schloshed as Schlegel

There’s nothing Nietzsche couldn’t teach ya
’bout the raising of the wrist
Socrates, himself, was permanently pissed

John Stuart Mill, of his own free will
On half a pint of shandy was particularly ill

Plato, they say, could stick it away
Half a crate of whiskey every day

Aristotle, Aristotle was a bugger for the bottle
And Hobbes was fond of his dram

And René Descartes was a drunken fart
“I drink, therefore I am.”

Yes, Socrates himself is particularly missed
A lovely little thinker, but a bugger when he’s pissed

   — Philosopher’s Song, Monty Python’s Flying Circus

NAME

PDF::Builder::Resource::XObject::Image::GIF - Support routines for GIF image library

Inherits from PDF::Builder::Resource::XObject::Image

History

GIF89a Specification: https://www.w3.org/Graphics/GIF/spec-gif89a.txt

A fairly thorough description of the GIF format may be found in http://giflib.sourceforge.net/whatsinagif/bits_and_bytes.html.

Code originally from PDF::Create, PDF::Image::GIFImage - GIF image support Author: Michael Gross <mdgrosse@sboxtugraz.at>

Supported Formats

GIF87a and GIF89a headers are supported. The Image block (x2C) is supported.

The Graphic Control Extension block (x21 + xF9) is supported for transparency control. Animation is not supported.

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.

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).

Options

notrans

When defined and not 0, notrans suppresses the use of transparency if such is defined in the GIF file.

name => 'string'

This is the name you can give for the GIF image object. The default is Gxnnnn.

multi

When defined and not 0, multi 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.

METHODS

new

     PDF::Builder::Resource::XObject::Image::GIF->new()
Create an image object from a GIF input file. Remember that this should be invoked via the Builder.pm method!

NAVIGATION LINKS

Up (Parents)

Master Index
PDF::Builder -- Facilitates the creation and modification of PDF files
PDF::Builder::Resource -- Base class for PDF resources
PDF::Builder::Resource::XObject -- Base class for external objects
PDF::Builder::Resource::XObject::Image -- Base class for external raster image objects

Siblings

PDF::Builder::Resource::XObject::Image::GD -- Support routines for Graphics Development image library
PDF::Builder::Resource::XObject::Image::JPEG -- Support routines for JPEG image library
PDF::Builder::Resource::XObject::Image::PNG -- Support routines for PNG image library (using pure Perl code)
PDF::Builder::Resource::XObject::Image::PNG_IPL -- Support routines for PNG image library (using Image::PNG::Libpng)
PDF::Builder::Resource::XObject::Image::PNM -- Support routines for PNM (Portable aNy Map) image library
PDF::Builder::Resource::XObject::Image::TIFF -- TIFF image support
PDF::Builder::Resource::XObject::Image::TIFF_GT -- TIFF image support (Graphics::TIFF enabled)

 

All content © copyright 2005 – 2024 by Catskill Technology Services, LLC.
All rights reserved.
Note that Third Party software (whether Open Source or proprietary) on this site remains under the copyright and license of its owners. Catskill Technology Services, LLC does not claim copyright over such software.

 

This page is https://www.catskilltech.com/Documentation/PDF/Builder/Resource/XObject/Image/GIF.html

Search Quotations database.

Last updated Sat, 09 Dec 2023 at 10:59 PM

Valid HTML 5

Sat, 07 Dec 2024 at 4:16 PM EST