Class BitmapChecker

    • Method Detail

      • checkHeader

        private void checkHeader​(byte[] header)
      • getImageSizes

        private BitmapChecker.ImageHeuristics getImageSizes()
                                                     throws java.io.IOException
        Gets image dimensions for given file
        Returns:
        dimensions of image
        Throws:
        java.io.IOException - if the file is not a known image
      • getImageFile

        private static java.io.File getImageFile​(OCFContainer container,
                                                 io.mola.galimatias.URL imageURL)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • getTempImageFile

        private static java.io.File getTempImageFile​(OCFContainer container,
                                                     io.mola.galimatias.URL imageURL)
                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • checkImageDimensions

        private void checkImageDimensions()