Examples of ByteSourceArray


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

   *            Byte array containing an image file.
   * @return A description of the image file's structure.
   */
  public static String dumpImageFile(byte bytes[]) throws ImageReadException,
      IOException {
    return dumpImageFile(new ByteSourceArray(bytes));
  }
View Full Code Here

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

    return imageParser.dumpImageFile(byteSource);
  }

  public static FormatCompliance getFormatCompliance(byte bytes[])
      throws ImageReadException, IOException {
    return getFormatCompliance(new ByteSourceArray(bytes));
  }
View Full Code Here

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

   *            Byte array containing an image file.
   * @return A vector of BufferedImages.
   */
  public static ArrayList getAllBufferedImages(byte bytes[])
      throws ImageReadException, IOException {
    return getAllBufferedImages(new ByteSourceArray(bytes));
  }
View Full Code Here

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

   * @return A BufferedImage.
   * @see SanselanConstants
   */
  public static BufferedImage getBufferedImage(byte bytes[])
      throws ImageReadException, IOException {
    return getBufferedImage(new ByteSourceArray(bytes), null);
  }
View Full Code Here

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

   * @return A BufferedImage.
   * @see SanselanConstants
   */
  public static BufferedImage getBufferedImage(byte bytes[], Map params)
      throws ImageReadException, IOException {
    return getBufferedImage(new ByteSourceArray(bytes), params);
  }
View Full Code Here

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

   * @param  os  OutputStream to write the image to.
   */
  public void removeExifMetadata(byte src[], OutputStream os)
      throws ImageReadException, IOException, ImageWriteException
  {
    ByteSource byteSource = new ByteSourceArray(src);
    removeExifMetadata(byteSource, os);
  }
View Full Code Here

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

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

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

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

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

    return getMetadata(bytes);
  }

  public final IImageMetadata getMetadata(byte bytes[], Map params)
      throws ImageReadException, IOException {
    return getMetadata(new ByteSourceArray(bytes), params);
  }
View Full Code Here

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

    return getImageInfo(byteSource, null);
  }

  public final ImageInfo getImageInfo(byte bytes[], Map params)
      throws ImageReadException, IOException {
    return getImageInfo(new ByteSourceArray(bytes), 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.