fop 0.94

org.apache.fop.image
Class JimiImage

java.lang.Object
  extended by org.apache.fop.image.AbstractFopImage
      extended by org.apache.fop.image.JimiImage
All Implemented Interfaces:
FopImage

public class JimiImage
extends AbstractFopImage

FopImage object for several images types, using Jimi. See Jimi documentation for supported image types.

Author:
Eric SCHAEFFER
See Also:
AbstractFopImage, FopImage

Nested Class Summary
 
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
JimiImage(FopImage.ImageInfo imgInfo)
          Create a new Jimi image.
 
Method Summary
protected  boolean loadBitmap()
          Load a bitmap array of the image.
protected  boolean loadDimensions()
          Load the dimensions of the image.
protected  void loadImage()
          Loads the image from the inputstream
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JimiImage

public JimiImage(FopImage.ImageInfo imgInfo)
Create a new Jimi image.

Parameters:
imgInfo - the image info for this Jimi image
Method Detail

loadDimensions

protected boolean loadDimensions()
Description copied from class: AbstractFopImage
Load the dimensions of the image. All implementations should override this to get and return the dimensions.

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

loadBitmap

protected boolean loadBitmap()
Description copied from class: AbstractFopImage
Load a bitmap array of the image. If the renderer requires a bitmap image then the implementations should override this to load the bitmap.

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

loadImage

protected void loadImage()
Loads the image from the inputstream


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.