Class HeicDecoder

  • All Implemented Interfaces:
    com.idrsolutions.image.Decoder

    public class HeicDecoder
    extends com.idrsolutions.image.JDeliImage
    implements com.idrsolutions.image.Decoder
    • Constructor Summary

      Constructors 
      Constructor Description
      HeicDecoder()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.image.BufferedImage read​(byte[] data)  
      java.awt.image.BufferedImage read​(java.io.File file)  
      java.awt.image.BufferedImage readThumbnail​(byte[] data)
      Decodes and returns the thumbnail heic image as BufferedImage if there is an thumbnail otherwise returns null
      java.awt.image.BufferedImage readThumbnail​(java.io.File file)
      Decodes and returns the thumbnail heic image as BufferedImage if there is an thumbnail otherwise returns null
      • Methods inherited from class com.idrsolutions.image.JDeliImage

        optimiseImage
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.idrsolutions.image.Decoder

        getImageCount, readImageAt, setMetadata
    • Constructor Detail

      • HeicDecoder

        public HeicDecoder()
    • Method Detail

      • read

        public java.awt.image.BufferedImage read​(byte[] data)
                                          throws java.lang.Exception
        Specified by:
        read in interface com.idrsolutions.image.Decoder
        Throws:
        java.lang.Exception
      • read

        public java.awt.image.BufferedImage read​(java.io.File file)
                                          throws java.lang.Exception
        Specified by:
        read in interface com.idrsolutions.image.Decoder
        Throws:
        java.lang.Exception
      • readThumbnail

        public java.awt.image.BufferedImage readThumbnail​(java.io.File file)
                                                   throws java.lang.Exception
        Decodes and returns the thumbnail heic image as BufferedImage if there is an thumbnail otherwise returns null
        Parameters:
        file - heic file
        Returns:
        BufferedImage thumbnail image
        Throws:
        java.lang.Exception
      • readThumbnail

        public java.awt.image.BufferedImage readThumbnail​(byte[] data)
                                                   throws java.lang.Exception
        Decodes and returns the thumbnail heic image as BufferedImage if there is an thumbnail otherwise returns null
        Parameters:
        data -
        Returns:
        BufferedImage thumbnail image
        Throws:
        java.lang.Exception