Package com.enonic.xp.image

## Interface ImageService

-     public interface ImageService

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Deprecated Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `getFormatByMimeType​(String mimeType)` | Deprecated.
    `ByteSource` | `readImage​(ReadImageParams readImageParams)` |

- - ### Method Detail

    - #### readImage

          ByteSource readImage​(ReadImageParams readImageParams)
                        throws IOException

      Throws:
        `IOException`

    - #### getFormatByMimeType

          @Deprecated
          String getFormatByMimeType​(String mimeType)
                              throws IOException

      Deprecated.
      Throws:
        `IOException`