Transition to C++23 (#11)
* enum field renaming * renderer cleanups * compiling for C++23 * version bump * fix build
This commit is contained in:
committed by
Maximilian Kueffner
parent
1ea83d9d11
commit
fec5c08aaa
@@ -13,18 +13,18 @@ constexpr pixelarium::imaging::ImageFileType ExtensionToType(const std::string&
|
||||
|
||||
if (lower_ext == ".jpg" || lower_ext == ".jpeg")
|
||||
{
|
||||
return pixelarium::imaging::ImageFileType::JPG;
|
||||
return pixelarium::imaging::ImageFileType::kJpg;
|
||||
}
|
||||
if (lower_ext == ".png")
|
||||
{
|
||||
return pixelarium::imaging::ImageFileType::PNG;
|
||||
return pixelarium::imaging::ImageFileType::kPng;
|
||||
}
|
||||
if (lower_ext == ".czi")
|
||||
{
|
||||
return pixelarium::imaging::ImageFileType::CZI;
|
||||
return pixelarium::imaging::ImageFileType::kCzi;
|
||||
}
|
||||
|
||||
return pixelarium::imaging::ImageFileType::UNKNOWN;
|
||||
return pixelarium::imaging::ImageFileType::kUnknown;
|
||||
}
|
||||
|
||||
/// @brief Factory for instantiating implementations of IPixelariumImage based on the given file type.
|
||||
|
||||
Reference in New Issue
Block a user