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, setDebug
public 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.ImageReadException
java.io.IOException
ImageWriteException
File
,
OutputStream
public 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.ImageReadException
java.io.IOException
ImageWriteException
File
,
OutputStream
public 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.ImageReadException
java.io.IOException
ImageWriteException
public 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.ImageReadException
java.io.IOException
ImageWriteException
public 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.ImageReadException
java.io.IOException
ImageWriteException
public 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.ImageReadException
java.io.IOException
ImageWriteException
public 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.ImageReadException
java.io.IOException
ImageWriteException
public 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.ImageReadException
java.io.IOException
ImageWriteException
public 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.ImageReadException
java.io.IOException
ImageWriteException
public 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.ImageReadException
java.io.IOException
ImageWriteException
public 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.ImageReadException
java.io.IOException
ImageWriteException
public 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.ImageReadException
java.io.IOException
ImageWriteException
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"