| java.lang.Object java.io.Writer org.w3c.tools.jpeg.JpegCommentWriter
JpegCommentWriter | public class JpegCommentWriter extends Writer (Code) | | Allow you to write text comments to jpeg stream
Some code has been adapted from wrjpgcom.c from The Independent JPEG Group
|
lastMarker | int lastMarker(Code) | | |
JpegCommentWriter | public JpegCommentWriter(OutputStream out, InputStream in)(Code) | | Create a JpegCommentWriter, using an Input stream as the jpeg binary
source, and writing in the output stream
out, the output stream where the image will be written in, the input stream of the jpeg file, it MUST point to thebeginning of the jpeg to avoid problems |
JpegCommentWriter | public JpegCommentWriter(OutputStream out, InputStream in, String enc) throws UnsupportedEncodingException(Code) | | Create a JpegCommentWriter, using an Input stream as the jpeg binary
source, and writing in the output stream
out, the output stream where the image will be written in, the input stream of the jpeg file, it MUST point to thebeginning of the jpeg to avoid problems enc, the encoding name used when you write comments |
dupFirstHeaders | protected void dupFirstHeaders() throws IOException(Code) | | the the first headers until a SOF parker is found
|
getEncoding | public String getEncoding()(Code) | | gets the encoding used by the comment writer
|
main | public static void main(String args)(Code) | | The usual debugging tool
|
nextMarker | protected int nextMarker() throws IOException(Code) | | get the next marker, and eat extra bytes
|
write | public void write(char[] buffer) throws IOException(Code) | | write an array of characters
|
write | public void write(char[] buffer, int off, int len) throws IOException(Code) | | write a portion of an array of characters
|
|
|