LibImage: Add image format probing

Instead of determining the image type in Image.cpp call image probing
functions for each supported image type
This commit is contained in:
2024-06-17 18:02:22 +03:00
parent 17ecbca204
commit 0bc8d49684
3 changed files with 24 additions and 20 deletions

View File

@@ -5,6 +5,7 @@
namespace LibImage
{
bool probe_netbpm(BAN::ConstByteSpan);
BAN::ErrorOr<BAN::UniqPtr<Image>> load_netbpm(BAN::ConstByteSpan);
}