Geometrize  1.0
An application for geometrizing images into geometric primitives
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
gifexporter.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <cstdint>
4 #include <functional>
5 #include <string>
6 #include <vector>
7 
8 namespace geometrize
9 {
10 class Bitmap;
11 
12 struct ShapeResult;
13 }
14 
15 namespace geometrize
16 {
17 
18 namespace exporter
19 {
20 
31 bool exportGIF(
32  const std::vector<geometrize::ShapeResult>& data,
33  std::uint32_t inputWidth,
34  std::uint32_t inputHeight,
35  std::uint32_t outputWidth,
36  std::uint32_t outputHeight,
37  const std::function<bool(std::size_t)>& frameSkipPredicate,
38  const std::string& filePath);
39 
40 }
41 
42 }
bool exportGIF(const std::vector< geometrize::ShapeResult > &data, std::uint32_t inputWidth, std::uint32_t inputHeight, std::uint32_t outputWidth, std::uint32_t outputHeight, const std::function< bool(std::size_t)> &frameSkipPredicate, const std::string &filePath)
exportGIF Exports shape data to a GIF image.
Definition: gifexporter.cpp:80