fop 0.94

org.apache.fop.image
Class GifImage

java.lang.Object
  extended by org.apache.fop.image.AbstractFopImage
      extended by 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

Nested Class Summary
protected static class GifImage.DummyConnection
          A dummy url connection for a gif image in an input stream.
 
Nested classes/interfaces inherited from interface org.apache.fop.image.FopImage
FopImage.ImageInfo
 
Field Summary
 
Fields inherited from class org.apache.fop.image.AbstractFopImage
bitmaps, bitsPerPixel, colorSpace, dpiHorizontal, dpiVertical, height, imageInfo, inputStream, invertImage, 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.
protected  boolean loadOriginalData()
          Load the original image data.
 
Methods inherited from class org.apache.fop.image.AbstractFopImage
getBitmaps, getBitmapsSize, getBitsPerPixel, getColorSpace, getHeight, getHorizontalResolution, getICCProfile, getIntrinsicAlignmentAdjust, getIntrinsicHeight, getIntrinsicWidth, getMimeType, getOriginalURI, getRessourceBytes, getRessourceBytesSize, getSoftMask, getTransparentColor, getVerticalResolution, getWidth, hasSoftMask, isInverted, isTransparent, load, loadDefaultOriginalData, loadDimensions
 
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

loadOriginalData

protected boolean loadOriginalData()
Description copied from class: AbstractFopImage
Load the original image data. In some cases the original data can be used by the renderer. This should load the data and any other associated information.

Overrides:
loadOriginalData in class AbstractFopImage
Returns:
true if the loading was successful
See Also:
AbstractFopImage.loadOriginalData()

fop 0.94

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