org.eclnt.util.image

## Interface IImageReader

-     public interface IImageReader

  Interface to read am image within the server side image processin (which is e.g used when image sizes are calculated on server side).
  The implementation may return null if it cannot read the image on its own - then the default way of reading the image is used. The implementation class should check the image name, if it's applicable for own read-processing and then either return null (if not applicable) or return the image bytes.
  The class is registered in eclntjsfserver/config/system.xml.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `byte[]` | `readImage(java.lang.String image)`

- - ### Method Detail

    - #### readImage

          byte[] readImage(java.lang.String image)

      Parameters:
        `image` - The path to the image: either a path like "/xxx/yyy/abc.png" or a URL like "http://...."
      Returns:
        If null is returned then the default way of reading the image is used.

Copyright © CaptainCasa Gmbh. All Rights Reserved.