Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Add debug option to not remove raw XML attribute (or create a new property and always store it) #201
Comments
agoode
added the
enhancement
label
Apr 4, 2017
|
For debugging purposes, it would be convenient to extract the XML even if the slide is rejected by all drivers, and even if the slide is not a valid TIFF (so tiffdump may not work, e.g. NDPI > 4 GB). That leaves either creating a new command-line tool that shares code with tifflike, or adding an OPENSLIDE_DEBUG flag that causes tifflike to dump out all of the ImageDescriptions and XMLPackets. Did you have a non-debugging purpose in mind? |
|
I was only thinking of debugging. For the Philips case, I needed to get the whole XML (and tiffdump refused to not truncate it). I added the XML data into |
|
Okay. FYI, I believe tiffinfo doesn't truncate. |
agoode commentedApr 4, 2017
In Philips (and potentially others), the TIFF description contains an XML file with properties embedded. Currently, OpenSlide parses and discards the XML, but it would be handy to keep around, either with a debug option or a new property.