Examples of ByteSourceFile


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

   * @return An instance of IImageMetadata.
   * @see IImageMetadata
   */
  public static IImageMetadata getMetadata(File file, Map params)
      throws ImageReadException, IOException {
    return getMetadata(new ByteSourceFile(file), params);
  }
View Full Code Here

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

   *            File containing image data.
   * @return A description of the image file's structure.
   */
  public static String dumpImageFile(File file) throws ImageReadException,
      IOException {
    return dumpImageFile(new ByteSourceFile(file));
  }
View Full Code Here

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

    return getFormatCompliance(new ByteSourceArray(bytes));
  }

  public static FormatCompliance getFormatCompliance(File file)
      throws ImageReadException, IOException {
    return getFormatCompliance(new ByteSourceFile(file));
  }
View Full Code Here

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

   *            File containing image data.
   * @return A vector of BufferedImages.
   */
  public static ArrayList getAllBufferedImages(File file)
      throws ImageReadException, IOException {
    return getAllBufferedImages(new ByteSourceFile(file));
  }
View Full Code Here

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

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

   * @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

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

   * @see java.io.OutputStream
   */
  public void removeExifMetadata(File src, OutputStream os)
      throws ImageReadException, IOException, ImageWriteException
  {
    ByteSource byteSource = new ByteSourceFile(src);
    removeExifMetadata(byteSource, os);
  }
View Full Code Here

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

   */
  public void updateExifMetadataLossless(File src, OutputStream os,
      TiffOutputSet outputSet) throws ImageReadException, IOException,
      ImageWriteException
  {
    ByteSource byteSource = new ByteSourceFile(src);
    updateExifMetadataLossless(byteSource, os, outputSet);
  }
View Full Code Here

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

   */
  public void updateExifMetadataLossy(File src, OutputStream os,
      TiffOutputSet outputSet) throws ImageReadException, IOException,
      ImageWriteException
  {
    ByteSource byteSource = new ByteSourceFile(src);
    updateExifMetadataLossy(byteSource, os, outputSet);
  }
View Full Code Here

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

          + file.getName());

    if (!canAcceptExtension(file))
      return null;

    return getMetadata(new ByteSourceFile(file), params);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.