Package org.apache.sanselan.common.byteSources

Examples of org.apache.sanselan.common.byteSources.ByteSourceFile


   * @return A BufferedImage.
   * @see SanselanConstants
   */
  public static BufferedImage getBufferedImage(File file)
      throws ImageReadException, IOException {
    return getBufferedImage(new ByteSourceFile(file), null);
  }
View Full Code Here


   * @return A BufferedImage.
   * @see SanselanConstants
   */
  public static BufferedImage getBufferedImage(File file, Map params)
      throws ImageReadException, IOException {
    return getBufferedImage(new ByteSourceFile(file), params);
  }
View Full Code Here

          + file.getName());

    if (!canAcceptExtension(file))
      return null;

    return getMetadata(new ByteSourceFile(file), params);
  }
View Full Code Here

      throws ImageReadException, IOException
  {
    if (!canAcceptExtension(file))
      return null;

    return getImageInfo(new ByteSourceFile(file), params);
  }
View Full Code Here

      throws ImageReadException, IOException
  {
    if (!canAcceptExtension(file))
      return null;

    return getFormatCompliance(new ByteSourceFile(file));
  }
View Full Code Here

      throws ImageReadException, IOException
  {
    if (!canAcceptExtension(file))
      return null;

    return getAllBufferedImages(new ByteSourceFile(file));
  }
View Full Code Here

      throws ImageReadException, IOException
  {
    if (!canAcceptExtension(file))
      return null;

    return getBufferedImage(new ByteSourceFile(file), params);
  }
View Full Code Here

  {

    if (!canAcceptExtension(file))
      return null;

    return getImageSize(new ByteSourceFile(file), params);
  }
View Full Code Here

      return null;

    if (debug)
      System.out.println(getName() + ": " + file.getName());

    return getICCProfileBytes(new ByteSourceFile(file), params);
  }
View Full Code Here

      return null;

    if (debug)
      System.out.println(getName() + ": " + file.getName());

    return dumpImageFile(new ByteSourceFile(file));
  }
View Full Code Here

TOP

Related Classes of org.apache.sanselan.common.byteSources.ByteSourceFile

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.