Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| xmlgraphics-commons 2.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.xmlgraphics.ps
Interface ImageEncoder

    public interface ImageEncoder

The interface is implemented by classes that can generate the raw bitmap field for an image that might be further encoded/compressed by the image handler class.

Method Summary
`String` | `getImplicitFilter()`
`void` | `writeTo(OutputStream out)` Writes the whole raw bitmap field to the given OutputStream.

Method Detail

### writeTo

    void writeTo(OutputStream out)
                 throws IOException

  Writes the whole raw bitmap field to the given OutputStream. The implementation must not close the OutputStream when it is finished!

  Parameters:
    `out` - the OutputStream to write to
  Throws:
    `IOException` - if an I/O error occurs

### getImplicitFilter

    String getImplicitFilter()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| xmlgraphics-commons 2.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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