Enhance image type support (#18)
* adds tiff support * doc update * adds memory-based =IPixelariumImage= implementation * add usage example for custom user control * enhance * clang-format fix readme fix docs
This commit is contained in:
committed by
Maximilian Kueffner
parent
356f966d01
commit
e3e161ce52
@@ -23,6 +23,10 @@ constexpr pixelarium::imaging::ImageFileType ExtensionToType(const std::string&
|
||||
{
|
||||
return pixelarium::imaging::ImageFileType::kCzi;
|
||||
}
|
||||
if (lower_ext == ".tiff" || lower_ext == ".tif")
|
||||
{
|
||||
return pixelarium::imaging::ImageFileType::kTiff;
|
||||
}
|
||||
|
||||
return pixelarium::imaging::ImageFileType::kUnknown;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user