Package org.apache.sanselan.common.byteSources

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


  public IccProfileInfo getICCProfileInfo(ICC_Profile icc_profile)
  {
    if (icc_profile == null)
      return null;

    return getICCProfileInfo(new ByteSourceArray(icc_profile.getData()));
  }
View Full Code Here

  public IccProfileInfo getICCProfileInfo(byte bytes[])
  {
    if (bytes == null)
      return null;

    return getICCProfileInfo(new ByteSourceArray(bytes));
  }
View Full Code Here

  public Boolean issRGB(ICC_Profile icc_profile)
  {
    if (icc_profile == null)
      return null;

    return issRGB(new ByteSourceArray(icc_profile.getData()));
  }
View Full Code Here

  public Boolean issRGB(byte bytes[])
  {
    if (bytes == null)
      return null;

    return issRGB(new ByteSourceArray(bytes));
  }
View Full Code Here

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

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

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

   *            String containing XMP XML.
   */
  public void updateXmpXml(byte src[], OutputStream os, String xmpXml)
      throws ImageReadException, IOException, ImageWriteException
  {
    ByteSource byteSource = new ByteSourceArray(src);
    updateXmpXml(byteSource, os, xmpXml);
  }
View Full Code Here

   *         ImageFormat.IMAGE_FORMAT_UNKNOWN if the image type cannot be
   *         guessed.
   */
  public static ImageFormat guessFormat(byte bytes[])
      throws ImageReadException, IOException {
    return guessFormat(new ByteSourceArray(bytes));
  }
View Full Code Here

TOP

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

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.