Package org.apache.commons.imaging.common.bytesource

Examples of org.apache.commons.imaging.common.bytesource.ByteSource


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


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

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

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

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

     * @param xmpXml
     *            String containing XMP XML.
     */
    public void updateXmpXml(final InputStream src, final OutputStream os, final String xmpXml)
            throws ImageReadException, IOException, ImageWriteException {
        final ByteSource byteSource = new ByteSourceInputStream(src, null);
        updateXmpXml(byteSource, os, xmpXml);
    }
View Full Code Here

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

     * @param xmpXml
     *            String containing XMP XML.
     */
    public void updateXmpXml(final File src, final OutputStream os, final String xmpXml)
            throws ImageReadException, IOException, ImageWriteException {
        final ByteSource byteSource = new ByteSourceFile(src);
        updateXmpXml(byteSource, os, xmpXml);
    }
View Full Code Here

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

     *            TiffOutputSet containing the EXIF data to write.
     */
    public void updateExifMetadataLossless(final File src, final OutputStream os,
            final TiffOutputSet outputSet) throws ImageReadException, IOException,
            ImageWriteException {
        final ByteSource byteSource = new ByteSourceFile(src);
        updateExifMetadataLossless(byteSource, os, outputSet);
    }
View Full Code Here

TOP

Related Classes of org.apache.commons.imaging.common.bytesource.ByteSource

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.