public class JpegIptcRewriter extends JpegRewriter
JpegRewriter.JpegSegmentOverflowException| Constructor and Description |
|---|
JpegIptcRewriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
removeIPTC(byte[] src,
java.io.OutputStream os)
Reads a Jpeg image, removes all IPTC data from the App13 segment but
leaves the other data in that segment (if present) unchanged and writes
the result to a stream.
|
void |
removeIPTC(byte[] src,
java.io.OutputStream os,
boolean removeSegment)
Reads a Jpeg image, removes all IPTC data from the App13 segment but
leaves the other data in that segment (if present) unchanged (unless
removeSegment is true) and writes the result to a stream.
|
void |
removeIPTC(ByteSource byteSource,
java.io.OutputStream os)
Reads a Jpeg image, removes all IPTC data from the App13 segment but
leaves the other data in that segment (if present) unchanged and writes
the result to a stream.
|
void |
removeIPTC(ByteSource byteSource,
java.io.OutputStream os,
boolean removeSegment)
Reads a Jpeg image, removes all IPTC data from the App13 segment but
leaves the other data in that segment (if present) unchanged (unless
removeSegment is true) and writes the result to a stream.
|
void |
removeIPTC(java.io.File src,
java.io.OutputStream os)
Reads a Jpeg image, removes all IPTC data from the App13 segment but
leaves the other data in that segment (if present) unchanged and writes
the result to a stream.
|
void |
removeIPTC(java.io.File src,
java.io.OutputStream os,
boolean removeSegment)
Reads a Jpeg image, removes all IPTC data from the App13 segment but
leaves the other data in that segment (if present) unchanged (unless
removeSegment is true) and writes the result to a stream.
|
void |
removeIPTC(java.io.InputStream src,
java.io.OutputStream os)
Reads a Jpeg image, removes all IPTC data from the App13 segment but
leaves the other data in that segment (if present) unchanged and writes
the result to a stream.
|
void |
removeIPTC(java.io.InputStream src,
java.io.OutputStream os,
boolean removeSegment)
Reads a Jpeg image, removes all IPTC data from the App13 segment but
leaves the other data in that segment (if present) unchanged (unless
removeSegment is true) and writes the result to a stream.
|
void |
writeIPTC(byte[] src,
java.io.OutputStream os,
PhotoshopApp13Data newData)
Reads a Jpeg image, replaces the IPTC data in the App13 segment but
leaves the other data in that segment (if present) unchanged and writes
the result to a stream.
|
void |
writeIPTC(ByteSource byteSource,
java.io.OutputStream os,
PhotoshopApp13Data newData)
Reads a Jpeg image, replaces the IPTC data in the App13 segment but
leaves the other data in that segment (if present) unchanged and writes
the result to a stream.
|
void |
writeIPTC(java.io.File src,
java.io.OutputStream os,
PhotoshopApp13Data newData)
Reads a Jpeg image, replaces the IPTC data in the App13 segment but
leaves the other data in that segment (if present) unchanged and writes
the result to a stream.
|
void |
writeIPTC(java.io.InputStream src,
java.io.OutputStream os,
PhotoshopApp13Data newData)
Reads a Jpeg image, replaces the IPTC data in the App13 segment but
leaves the other data in that segment (if present) unchanged and writes
the result to a stream.
|
getByteOrder, getDebug, setDebugpublic void removeIPTC(java.io.File src,
java.io.OutputStream os)
throws ImageReadException,
java.io.IOException,
ImageWriteException
src - Image file.os - OutputStream to write the image to.ImageReadExceptionjava.io.IOExceptionImageWriteExceptionFile,
OutputStreampublic void removeIPTC(java.io.File src,
java.io.OutputStream os,
boolean removeSegment)
throws ImageReadException,
java.io.IOException,
ImageWriteException
src - Image file.os - OutputStream to write the image to.removeSegment - Remove the App13 segment.ImageReadExceptionjava.io.IOExceptionImageWriteExceptionFile,
OutputStreampublic void removeIPTC(byte[] src,
java.io.OutputStream os)
throws ImageReadException,
java.io.IOException,
ImageWriteException
src - Byte array containing Jpeg image data.os - OutputStream to write the image to.ImageReadExceptionjava.io.IOExceptionImageWriteExceptionpublic void removeIPTC(byte[] src,
java.io.OutputStream os,
boolean removeSegment)
throws ImageReadException,
java.io.IOException,
ImageWriteException
src - Byte array containing Jpeg image data.os - OutputStream to write the image to.removeSegment - Remove the App13 segment.ImageReadExceptionjava.io.IOExceptionImageWriteExceptionpublic void removeIPTC(java.io.InputStream src,
java.io.OutputStream os)
throws ImageReadException,
java.io.IOException,
ImageWriteException
src - InputStream containing Jpeg image data.os - OutputStream to write the image to.ImageReadExceptionjava.io.IOExceptionImageWriteExceptionpublic void removeIPTC(java.io.InputStream src,
java.io.OutputStream os,
boolean removeSegment)
throws ImageReadException,
java.io.IOException,
ImageWriteException
src - InputStream containing Jpeg image data.os - OutputStream to write the image to.removeSegment - Remove the App13 segment.ImageReadExceptionjava.io.IOExceptionImageWriteExceptionpublic void removeIPTC(ByteSource byteSource, java.io.OutputStream os) throws ImageReadException, java.io.IOException, ImageWriteException
byteSource - ByteSource containing Jpeg image data.os - OutputStream to write the image to.ImageReadExceptionjava.io.IOExceptionImageWriteExceptionpublic void removeIPTC(ByteSource byteSource, java.io.OutputStream os, boolean removeSegment) throws ImageReadException, java.io.IOException, ImageWriteException
byteSource - ByteSource containing Jpeg image data.os - OutputStream to write the image to.removeSegment - Remove the App13 segment.ImageReadExceptionjava.io.IOExceptionImageWriteExceptionpublic void writeIPTC(byte[] src,
java.io.OutputStream os,
PhotoshopApp13Data newData)
throws ImageReadException,
java.io.IOException,
ImageWriteException
src - Byte array containing Jpeg image data.os - OutputStream to write the image to.newData - structure containing IPTC data.ImageReadExceptionjava.io.IOExceptionImageWriteExceptionpublic void writeIPTC(java.io.InputStream src,
java.io.OutputStream os,
PhotoshopApp13Data newData)
throws ImageReadException,
java.io.IOException,
ImageWriteException
src - InputStream containing Jpeg image data.os - OutputStream to write the image to.newData - structure containing IPTC data.ImageReadExceptionjava.io.IOExceptionImageWriteExceptionpublic void writeIPTC(java.io.File src,
java.io.OutputStream os,
PhotoshopApp13Data newData)
throws ImageReadException,
java.io.IOException,
ImageWriteException
src - Image file.os - OutputStream to write the image to.newData - structure containing IPTC data.ImageReadExceptionjava.io.IOExceptionImageWriteExceptionpublic void writeIPTC(ByteSource byteSource, java.io.OutputStream os, PhotoshopApp13Data newData) throws ImageReadException, java.io.IOException, ImageWriteException
byteSource - ByteSource containing Jpeg image data.os - OutputStream to write the image to.newData - structure containing IPTC data.ImageReadExceptionjava.io.IOExceptionImageWriteException"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"