bioformats icon indicating copy to clipboard operation
bioformats copied to clipboard

Image Attachment of CZI is not read correctly with BioFormats 5.3.4

Open sebi06 opened this issue 7 years ago • 5 comments

Hi,

some of our systems use a preview camera to acquire an overview image of the sample and/or carrier to use this for sample or sample carrier recognition. This image is stored as an attachment inside the CZI. When the respective option is activated using BioFormats 5.3.4 this image is read but only partially (see attached screenshots)

Maybe you read only 1 series of it? The image actually consist out of a few single images and is "tiles" together. Let me know if you need more detailed info or more testfiles to fix this

The original CZI image can be found here:

https://drive.google.com/open?id=0B8YXT9fyYIBzWEg5ZTl5ZDlQTDg

attachment_czicomplete_zen attachment_part

sebi06 avatar Mar 20 '17 08:03 sebi06

Thank you for providing a sample file to test this with. I was able to reproduce the issue as described with the latest Bio-Formats build. I have added the details to card on the Bio-Formats Trello board to be prioritised.

dgault avatar Mar 20 '17 16:03 dgault

For reference, the Trello card is: https://trello.com/c/33ZpzJ9G/122-zeiss-czi-image-attachment-incorrect-width

melissalinkert avatar Dec 19 '18 21:12 melissalinkert

I recreated the link with an example of an CZI with attachment:

https://drive.google.com/open?id=1LsM94JW2l_B9ElcxNlSVXLoztJwE6_kJ

zeissmicroscopy avatar Feb 12 '19 11:02 zeissmicroscopy

Thank you, @zeissmicroscopy. The file has now been downloaded and copied to our testing repository (inbox/gh-2791/).

melissalinkert avatar Feb 12 '19 16:02 melissalinkert

Testing this file with https://github.com/ome/bioformats/pull/3681, showinf -option zeissczi.trim_dimensions true results in the correct image size.

melissalinkert avatar Apr 19 '21 17:04 melissalinkert

This was fixed in 6.7.0, as a result of the changes in https://github.com/ome/bioformats/pull/3687.

melissalinkert avatar Aug 29 '22 22:08 melissalinkert