change cmakelists and gitignore, commit third librarys source

This commit is contained in:
Jie
2024-06-18 13:25:20 +08:00
parent c1c0b98b5c
commit 83cc278754
10 changed files with 77 additions and 1 deletions

9
include/UtilTool.h Normal file
View File

@@ -0,0 +1,9 @@
#include <iostream>
#include <array>
class UtilTool
{
public:
constexpr static std::array<std::string, 2> ImageType{"jpg","png"};
static bool CheckFileIsImage(const std::string& filename);
};