Examples of ByteSourceInputStream


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

  public static BufferedImage getBufferedImage(InputStream is, Map params)
      throws ImageReadException, IOException {
    String filename = null;
    if (params != null && params.containsKey(PARAM_KEY_FILENAME))
      filename = (String) params.get(PARAM_KEY_FILENAME);
    return getBufferedImage(new ByteSourceInputStream(is, filename), params);
  }
View Full Code Here

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

   *            OutputStream to write the image to.
   */
  public void removeXmpXml(InputStream src, OutputStream os)
      throws ImageReadException, IOException, ImageWriteException
  {
    ByteSource byteSource = new ByteSourceInputStream(src, null);
    removeXmpXml(byteSource, os);
  }
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.