We're Hiring!

Missing field from reported Exif metadata?

Historical discussions about the Bio-Formats library. Please look for and ask new questions at https://forum.image.sc/tags/bio-formats
Please note:
Historical discussions about the Bio-Formats library. Please look for and ask new questions at https://forum.image.sc/tags/bio-formats

If you are having trouble with image files, there is information about reporting bugs in the Bio-Formats documentation. Please send us the data and let us know what version of Bio-Formats you are using. For issues with your code, please provide a link to a public repository, ideally GitHub.

Missing field from reported Exif metadata?

Postby mraschi » Thu Jan 22, 2015 11:01 am

Hi

It seems to be missing the field "RowsPerStrip" (tag ID 0x0116 I think) from the Exif metadata reported by Bio-Formats for all of our working images. It is returned by other readers that we are using for comparison, particularly matlab's imfinfo.

Might it be the case that it is being reported under other name?

You can find a sample image here:
https://www.dropbox.com/s/v9dfa8543lmck ... 5_u001.tif

Thank you,
Marcelo
mraschi
 
Posts: 6
Joined: Fri Dec 12, 2014 12:33 pm

Re: Missing field from reported Exif metadata?

Postby mlinkert » Fri Jan 23, 2015 2:54 pm

Hi Marcelo,

The RowsPerStrip tag is parsed, but not currently included in Bio-Formats' original metadata table. We can add this in the 5.1.0 release, but for now you can retrieve the RowsPerStrip tag like this:

Code: Select all
rowsPerStrip = loci.formats.tiff.TiffParser('/path/to/file.tiff').getFirstIFD().getRowsPerStrip();


Regards,
-Melissa
User avatar
mlinkert
Team Member
 
Posts: 353
Joined: Fri May 29, 2009 2:12 pm
Location: Southwest Wisconsin

Re: Missing field from reported Exif metadata?

Postby mraschi » Tue Jan 27, 2015 8:24 am

Hi Melissa.

Thanks for your response. The command line works perfectly. We would welcome this feature if present in 5.1.0.

Best,
Marelo
mraschi
 
Posts: 6
Joined: Fri Dec 12, 2014 12:33 pm


Return to User Discussion [Legacy]

Who is online

Users browsing this forum: Google [Bot] and 1 guest