Class ImageReturnProcessor.Result

    • Constructor Detail

      • Result

        protected Result​(long nativeResult)
    • Method Detail

      • getEncodedImage

        public byte[] getEncodedImage()
        JPEG-encoded image or null, depending on whether image encoding was enabled.
      • getRawImage

        public Image getRawImage()
        Returns the raw image saved by the processor. If no image was saved by processor, returns null. NOTE: Internal buffers of the returned image are valid as long as Result object (this) is alive.
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object
      • clone

        public ImageReturnProcessor.Result clone()
        Description copied from class: Entity.Result
        Create a copy of the result. This is required in order to retain the result even after owning entity has mutated it.
        Specified by:
        clone in class Entity.Result
        a copy of the result