imi-bigpicture / wsidicomizer

Python library for converting WSI files to DICOM
Apache License 2.0
57 stars 8 forks source link

Handle ICC profile when there is no profile in source file #66

Closed erikogabrielsson closed 9 months ago

erikogabrielsson commented 1 year ago

DICOM WSI requires a ICC Profile for YBR/RGB images as part of the Optical Path. For some formats there is a profile embedded in the file. It should be possible to specify a ICC profile (either as bytes or path to file) to include in case the source file does not have a profile.

erikogabrielsson commented 9 months ago

Fixed in 0.12.. ICC profiles can now be specified.