/** * Adds the given ExifTag to its default IFD and returns an existing ExifTag * with the same TID or null if none exist. */ protected ExifTag addTag( ExifTag tag ) { if( tag != null ) { int ifd = tag.getIfd(); return addTag( tag, ifd ); } return null; }
/** * Adds the given ExifTag to its default IFD and returns an existing ExifTag * with the same TID or null if none exist. */ protected ExifTag addTag( ExifTag tag ) { if( tag != null ) { int ifd = tag.getIfd(); return addTag( tag, ifd ); } return null; }
private ArrayList<ExifTag> stripNullValueTags( ExifData data ) { ArrayList<ExifTag> nullTags = new ArrayList<ExifTag>(); for( ExifTag t : data.getAllTags() ) { if( t.getValue() == null && ! ExifInterface.isOffsetTag( t.getTagId() ) ) { data.removeTag( t.getTagId(), t.getIfd() ); nullTags.add( t ); } } return nullTags; }
private ArrayList<ExifTag> stripNullValueTags( ExifData data ) { ArrayList<ExifTag> nullTags = new ArrayList<ExifTag>(); for( ExifTag t : data.getAllTags() ) { if( t.getValue() == null && ! ExifInterface.isOffsetTag( t.getTagId() ) ) { data.removeTag( t.getTagId(), t.getIfd() ); nullTags.add( t ); } } return nullTags; }
int ifid = tag.getIfd(); String ifdid_str = "";
@SuppressWarnings( "unused" ) protected int getTagDefinitionForTag( ExifTag tag ) { short type = tag.getDataType(); int count = tag.getComponentCount(); int ifd = tag.getIfd(); return getTagDefinitionForTag( tag.getTagId(), type, count, ifd ); }
@SuppressWarnings( "unused" ) protected int getTagDefinitionForTag( ExifTag tag ) { short type = tag.getDataType(); int count = tag.getComponentCount(); int ifd = tag.getIfd(); return getTagDefinitionForTag( tag.getTagId(), type, count, ifd ); }
int ifd = tag.getIfd(); if( tid == TAG_EXIF_IFD && checkAllowed( ifd, ExifInterface.TAG_EXIF_IFD ) ) { if( isIfdRequested( IfdId.TYPE_IFD_EXIF ) || isIfdRequested( IfdId.TYPE_IFD_INTEROPERABILITY ) ) {
int ifd = tag.getIfd(); if( tid == TAG_EXIF_IFD && checkAllowed( ifd, ExifInterface.TAG_EXIF_IFD ) ) { if( isIfdRequested( IfdId.TYPE_IFD_EXIF ) || isIfdRequested( IfdId.TYPE_IFD_INTEROPERABILITY ) ) {