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

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


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


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

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

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

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

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

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

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

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

     *            structure containing IPTC data.
     */
    public void writeIPTC(final InputStream src, final OutputStream os,
            final PhotoshopApp13Data newData) throws ImageReadException, IOException,
            ImageWriteException {
        final ByteSource byteSource = new ByteSourceInputStream(src, null);
        writeIPTC(byteSource, os, newData);
    }
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.