Package ij.io

Examples of ij.io.TiffDecoder


   * @return true if file is an uncompressed TIFF
   */
  public static boolean isUncompressedTiff(String file) {
    File f = new File(file);
    FileInfo[] fi = null;
    TiffDecoder ti = new TiffDecoder(f.getParent() + "/", f.getName());
    try {
      fi = ti.getTiffInfo();
    } catch (IOException e) {
      return false;
    }
    if (fi[0].compression == 1)
        return true;
View Full Code Here


     * @return true if file is an uncompressed TIFF
     */
    public static boolean isUncompressedTiff(String file) {
        File f = new File(file);
        FileInfo[] fi = null;
        TiffDecoder ti = new TiffDecoder(f.getParent() + "/", f.getName());
        try {
            fi = ti.getTiffInfo();
        } catch (IOException e) {
            return false;
        }
        if (fi[0].compression == 1) {
            return true;
View Full Code Here

TOP

Related Classes of ij.io.TiffDecoder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.