fi.hut.tml.xsmiles.mlfc.xslfo.image
Class GifJpegImage2

java.lang.Object
  extended byfi.hut.tml.xsmiles.mlfc.xslfo.image.GifJpegImage2
All Implemented Interfaces:
org.apache.fop.image.FopImage

public class GifJpegImage2
extends java.lang.Object
implements org.apache.fop.image.FopImage

This is (an experimental) JDK 1.1 version of the org.apache.fop.image.GifJpegImage class To enable compilation in JDK 1.1, the image is set as if having alpha, and transparency of OPAQUE ( whatever this means, I don't know... TR )


Field Summary
 java.awt.Image image
           
 
Constructor Summary
GifJpegImage2(java.net.URL href)
           
 
Method Summary
 void close()
           
 byte[] getBitmaps()
           
 int getBitmapsSize()
           
 int getBitsPerPixel()
           
 org.apache.fop.datatypes.ColorSpace getColorSpace()
           
 int getHeight()
           
protected  void getImage()
           
 org.apache.fop.pdf.PDFFilter getPDFFilter()
           
 byte[] getRessourceBytes()
           
 int getRessourceBytesSize()
           
 org.apache.fop.pdf.PDFColor getTransparentColor()
           
 java.lang.String getURL()
           
 int getWidth()
           
 boolean isTransparent()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

image

public java.awt.Image image
Constructor Detail

GifJpegImage2

public GifJpegImage2(java.net.URL href)
              throws org.apache.fop.image.FopImageException
Method Detail

getImage

protected void getImage()
                 throws org.apache.fop.image.FopImageException
Throws:
org.apache.fop.image.FopImageException

getURL

public java.lang.String getURL()
Specified by:
getURL in interface org.apache.fop.image.FopImage

getWidth

public int getWidth()
             throws org.apache.fop.image.FopImageException
Specified by:
getWidth in interface org.apache.fop.image.FopImage
Throws:
org.apache.fop.image.FopImageException

getHeight

public int getHeight()
              throws org.apache.fop.image.FopImageException
Specified by:
getHeight in interface org.apache.fop.image.FopImage
Throws:
org.apache.fop.image.FopImageException

getColorSpace

public org.apache.fop.datatypes.ColorSpace getColorSpace()
                                                  throws org.apache.fop.image.FopImageException
Specified by:
getColorSpace in interface org.apache.fop.image.FopImage
Throws:
org.apache.fop.image.FopImageException

getBitsPerPixel

public int getBitsPerPixel()
                    throws org.apache.fop.image.FopImageException
Specified by:
getBitsPerPixel in interface org.apache.fop.image.FopImage
Throws:
org.apache.fop.image.FopImageException

isTransparent

public boolean isTransparent()
                      throws org.apache.fop.image.FopImageException
Specified by:
isTransparent in interface org.apache.fop.image.FopImage
Throws:
org.apache.fop.image.FopImageException

getTransparentColor

public org.apache.fop.pdf.PDFColor getTransparentColor()
                                                throws org.apache.fop.image.FopImageException
Specified by:
getTransparentColor in interface org.apache.fop.image.FopImage
Throws:
org.apache.fop.image.FopImageException

getBitmaps

public byte[] getBitmaps()
                  throws org.apache.fop.image.FopImageException
Specified by:
getBitmaps in interface org.apache.fop.image.FopImage
Throws:
org.apache.fop.image.FopImageException

getBitmapsSize

public int getBitmapsSize()
                   throws org.apache.fop.image.FopImageException
Specified by:
getBitmapsSize in interface org.apache.fop.image.FopImage
Throws:
org.apache.fop.image.FopImageException

getRessourceBytes

public byte[] getRessourceBytes()
                         throws org.apache.fop.image.FopImageException
Specified by:
getRessourceBytes in interface org.apache.fop.image.FopImage
Throws:
org.apache.fop.image.FopImageException

getRessourceBytesSize

public int getRessourceBytesSize()
                          throws org.apache.fop.image.FopImageException
Specified by:
getRessourceBytesSize in interface org.apache.fop.image.FopImage
Throws:
org.apache.fop.image.FopImageException

getPDFFilter

public org.apache.fop.pdf.PDFFilter getPDFFilter()
                                          throws org.apache.fop.image.FopImageException
Specified by:
getPDFFilter in interface org.apache.fop.image.FopImage
Throws:
org.apache.fop.image.FopImageException

close

public void close()
Specified by:
close in interface org.apache.fop.image.FopImage


X-Smiles 1.2