/** * Clears the compressed thumbnail if it exists. */ @SuppressWarnings( "unused" ) public void removeCompressedThumbnail() { mData.setCompressedThumbnail( null ); }
/** * Clears the compressed thumbnail if it exists. */ @SuppressWarnings( "unused" ) public void removeCompressedThumbnail() { mData.setCompressedThumbnail( null ); }
/** * Sets the thumbnail to be a jpeg compressed image. Clears any prior * thumbnail. * * @param thumb a byte array containing a jpeg compressed image. * @return true if the thumbnail was set. */ public boolean setCompressedThumbnail( byte[] thumb ) { mData.clearThumbnailAndStrips(); mData.setCompressedThumbnail( thumb ); return true; }
/** * Sets the thumbnail to be a jpeg compressed image. Clears any prior * thumbnail. * * @param thumb a byte array containing a jpeg compressed image. * @return true if the thumbnail was set. */ public boolean setCompressedThumbnail( byte[] thumb ) { mData.clearThumbnailAndStrips(); mData.setCompressedThumbnail( thumb ); return true; }
byte buf[] = new byte[parser.getCompressedImageSize()]; if( buf.length == parser.read( buf ) ) { exifData.setCompressedThumbnail( buf );
byte buf[] = new byte[parser.getCompressedImageSize()]; if( buf.length == parser.read( buf ) ) { exifData.setCompressedThumbnail( buf );