Home | History | Annotate | Download | only in exif

Lines Matching defs:JPEG

49  * This class provides methods and constants for reading and writing jpeg file
54 * to a valid jpeg image as exif metadata.
404 public static final short JPEG = 6;
721 * @param jpeg a byte array containing a jpeg compressed image.
724 public void readExif(byte[] jpeg) throws IOException {
725 readExif(new ByteArrayInputStream(jpeg));
732 * @param inStream an InputStream containing a jpeg compressed image.
752 * @param inFileName a string representing the filepath to jpeg file.
790 * Writes the tags from this ExifInterface object into a jpeg image,
793 * @param jpeg a byte array containing a jpeg compressed image.
794 * @param exifOutStream an OutputStream to which the jpeg image with added
798 public void writeExif(byte[] jpeg, OutputStream exifOutStream) throws IOException {
799 if (jpeg == null || exifOutStream == null) {
803 s.write(jpeg, 0, jpeg.length);
808 * Writes the tags from this ExifInterface object into a jpeg compressed
812 * @param exifOutStream the OutputStream to which the jpeg image with added
821 bmap.compress(Bitmap.CompressFormat.JPEG, 90, s);
826 * Writes the tags from this ExifInterface object into a jpeg stream,
829 * @param jpegStream an InputStream containing a jpeg compressed image.
830 * @param exifOutStream an OutputStream to which the jpeg image with added
844 * Writes the tags from this ExifInterface object into a jpeg image,
847 * @param jpeg a byte array containing a jpeg compressed image.
848 * @param exifOutFileName a String containing the filepath to which the jpeg
853 public void writeExif(byte[] jpeg, String exifOutFileName) throws FileNotFoundException,
855 if (jpeg == null || exifOutFileName == null) {
861 s.write(jpeg, 0, jpeg.length);
871 * Writes the tags from this ExifInterface object into a jpeg compressed
875 * @param exifOutFileName a String containing the filepath to which the jpeg
888 bmap.compress(Bitmap.CompressFormat.JPEG, 90, s);
898 * Writes the tags from this ExifInterface object into a jpeg stream,
901 * @param jpegStream an InputStream containing a jpeg compressed image.
902 * @param exifOutFileName a String containing the filepath to which the jpeg
925 * Writes the tags from this ExifInterface object into a jpeg file, removing
928 * @param jpegFileName a String containing the filepath for a jpeg file.
929 * @param exifOutFileName a String containing the filepath to which the jpeg
952 * ExifInterface object will be added to a jpeg image written to this
959 * metadata. A jpeg image should be written to this stream.
972 * ExifInterface object will be added to a jpeg image written to this
977 * @param exifOutFileName an String containing a filepath for a jpeg file.
979 * exif metadata. A jpeg image should be written to this stream.
1001 * @param filename a String containing a filepath for a jpeg file with exif
1003 * @param tags tags that will be written into the jpeg file over existing
1060 * @param buf a ByteBuffer containing a jpeg file with existing exif tags to
1062 * @param tags tags that will be written into the jpeg ByteBuffer over
1086 * @param filename a String containing a filepath for a jpeg file.
1087 * @param tags tags that will be written into the jpeg file over existing
1127 * @param filename a String containing a filepath for a jpeg file.
1767 * standard or a jpeg compressed image.
1781 * Returns the thumbnail if it is jpeg compressed, or null if none exists.
1811 * Sets the thumbnail to be a jpeg compressed image. Clears any prior
1814 * @param thumb a byte array containing a jpeg compressed image.
1824 * Sets the thumbnail to be a jpeg compressed bitmap. Clears any prior
1827 jpeg thumbnail.
1832 if (!thumb.compress(Bitmap.CompressFormat.JPEG, 90, thumbnail)) {