public void writeExif(Bitmap bmap,OutputStream exifOutStream) throws IOException {
  if (bmap == null || exifOutStream == null) {
    throw new IllegalArgumentException(NULL_ARGUMENT_STRING);
  }
  OutputStream s=getExifWriterStream(exifOutStream);
  bmap.compress(Bitmap.CompressFormat.JPEG,90,s);
  s.flush();
}

public void writeExif ( Bitmap bmap , OutputStream exifOutStream ) throws IOException { if ( bmap == null || exifOutStream == null ) { throw new IllegalArgumentException ( NULL_ARGUMENT_STRING ) ; } OutputStream s = getExifWriterStream ( exifOutStream ) ; bmap . compress ( Bitmap . CompressFormat . JPEG , 90 , s ) ; s . flush ( ) ; }
writes the tags from this exifinterface object into a jpeg compressed bitmap , removing prior exif tags .
