org.jfor.jfor.tools.jpeg
Interface IJpegEncoder

All Known Implementing Classes:
EncoderWrapper

public interface IJpegEncoder

Interface to a JPEG image encoder, declares just what jfor uses

Author:
bdelacretaz@codeconsult.ch

Method Summary
 byte[] encodeJPEG(int quality, byte[] data)
          Encode image data in JPEG
 

Method Detail

encodeJPEG

byte[] encodeJPEG(int quality,
                  byte[] data)
                  throws JPEGException
Encode image data in JPEG

Parameters:
data - Byte array with data of a gif or tif image
Throws:
JPEGException - On error