egami.hpp
Go to the documentation of this file.
1 
6 #pragma once
7 
8 #include <etk/types.hpp>
9 #include <vector>
10 #include <etk/math/Vector2D.hpp>
11 #include <etk/Color.hpp>
12 #include <egami/Image.hpp>
13 #include <egami/ImageMono.hpp>
14 
15 namespace egami {
21  egami::Image load(const std::string& _fileName, const ivec2& _size=ivec2(-1,-1) );
28  bool store(const egami::Image& _input, const std::string& _fileName);
34  bool scalable(const std::string& _fileName);
42  bool generateDistanceFieldFile(const std::string& _input, const std::string& _output);
43 }
44 
45 
egami::Image load(const std::string &_fileName, const ivec2 &_size=ivec2(-1,-1))
Load a specific ilage file in the requested image data.
Definition: debug.hpp:10
bool scalable(const std::string &_fileName)
know if a file can have multiple size definition.
Definition: Image.hpp:66
bool generateDistanceFieldFile(const std::string &_input, const std::string &_output)
Generate a distance field output file from an input file;.
bool store(const egami::Image &_input, const std::string &_fileName)
Save an image in a file.