fop 0.90alpha1

org.apache.fop.image
Class GifImage

java.lang.Object
  |
  +--org.apache.fop.image.AbstractFopImage
        |
        +--org.apache.fop.image.GifImage
All Implemented Interfaces:
FopImage

public class GifImage
extends AbstractFopImage

FopImage object for GIF images, using Java native classes.

Author:
Eric SCHAEFFER, Modified by Eric Dalquist - 9/14/2001 - ebdalqui@mtu.edu
See Also:
AbstractFopImage, FopImage

Inner Class Summary
protected static class GifImage.DummyConnection
          A dummy url connection for a gif image in an input stream.
 
Inner classes inherited from class org.apache.fop.image.FopImage
FopImage.ImageInfo
 
Fields inherited from class org.apache.fop.image.AbstractFopImage
bitmaps, bitsPerPixel, colorSpace, dpiHorizontal, dpiVertical, height, imageInfo, inputStream, isTransparent, loaded, log, raw, transparentColor, width
 
Fields inherited from interface org.apache.fop.image.FopImage
BITMAP, DIMENSIONS, ORIGINAL_DATA
 
Constructor Summary
GifImage(FopImage.ImageInfo imgInfo)
          Create a new gif image.
 
Method Summary
protected  boolean loadBitmap()
          Load the bitmap for this gif image.
 
Methods inherited from class org.apache.fop.image.AbstractFopImage
getBitmaps, getBitmapsSize, getBitsPerPixel, getColorSpace, getHeight, getHorizontalResolution, getICCProfile, getIntrinsicHeight, getIntrinsicWidth, getMimeType, getOriginalURI, getRessourceBytes, getRessourceBytesSize, getSoftMask, getTransparentColor, getVerticalResolution, getWidth, hasSoftMask, isTransparent, load, loadDimensions, loadOriginalData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GifImage

public GifImage(FopImage.ImageInfo imgInfo)
Create a new gif image.
Parameters:
imgInfo - the image info for this gif image
Method Detail

loadBitmap

protected boolean loadBitmap()
Load the bitmap for this gif image. This loads the data and creates a bitmap byte array of the image data. To decode the image a dummy URLConnection is used that will do the conversion.
Overrides:
loadBitmap in class AbstractFopImage
Returns:
True if the load process succeeded

fop 0.90alpha1

Copyright 1999-2005 The Apache Software Foundation. All Rights Reserved.