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

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


     * @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 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

     * @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

     *            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 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

     * @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

     *            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

     *                            parser implementation.
     * @throws IOException        In the event of unsuccessful data read operation.
     */
    public final IImageMetadata getMetadata(final byte[] bytes, final Map<String, Object> params)
            throws ImageReadException, IOException {
        return getMetadata(new ByteSourceArray(bytes), params);
    }
View Full Code Here

     * @throws IOException        In the event of unsuccessful data
     *                            access operation.
     */
    public final ImageInfo getImageInfo(final byte[] bytes, final Map<String, Object> params)
            throws ImageReadException, IOException {
        return getImageInfo(new ByteSourceArray(bytes), params);
    }
View Full Code Here

     * @throws ImageReadException may be thrown by sub-classes
     * @throws IOException        may be thrown by sub-classes
     */
    public final FormatCompliance getFormatCompliance(final byte[] bytes)
            throws ImageReadException, IOException {
        return getFormatCompliance(new ByteSourceArray(bytes));
    }
View Full Code Here

TOP

Related Classes of org.apache.commons.imaging.common.bytesource.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.