 |
Geometrize
1.0
An application for geometrizing images into geometric primitives
|
Go to the documentation of this file.
7 #include "geometrize/bitmap/rgba.h"
29 bool exportBitmap(
const geometrize::Bitmap& bitmap,
const std::string& filePath);
37 bool exportImage(
const QImage& image,
const std::string& filePath);
47 bool exportImages(
const std::vector<QImage>& images,
const std::string& targetDir,
const std::string& baseFilename,
const std::string& fileExtension);
59 const std::vector<geometrize::ShapeResult>& shapes,
60 const std::uint32_t inputWidth,
61 const std::uint32_t inputHeight,
62 const std::uint32_t outputWidth,
63 const std::uint32_t outputHeight);
76 const std::vector<geometrize::ShapeResult>& shapes,
77 std::uint32_t inputWidth,
78 std::uint32_t inputHeight,
79 std::uint32_t outputWidth,
80 std::uint32_t outputHeight,
81 const std::string& filePath);
97 const std::vector<geometrize::ShapeResult>& shapes,
98 std::uint32_t inputWidth,
99 std::uint32_t inputHeight,
100 std::uint32_t outputWidth,
101 std::uint32_t outputHeight,
102 const std::string& targetDir,
103 const std::string& baseFilename,
104 const std::string& fileExtension);
QImage renderSvgShapeDataToImage(const std::vector< geometrize::ShapeResult > &shapes, const std::uint32_t inputWidth, const std::uint32_t inputHeight, const std::uint32_t outputWidth, const std::uint32_t outputHeight)
renderSvgShapeDataToImage Renders the given shape data to an image via an SVG.
Definition: imageexporter.cpp:46
bool exportRasterizedSvgs(const std::vector< geometrize::ShapeResult > &shapes, std::uint32_t inputWidth, std::uint32_t inputHeight, std::uint32_t outputWidth, std::uint32_t outputHeight, const std::string &targetDir, const std::string &baseFilename, const std::string &fileExtension)
exportRasterizedSvgs Exports the shape data to images by rasterizing SVGs rendered from the shape dat...
Definition: imageexporter.cpp:86
QImage createImage(const Bitmap &data)
createImage Creates an image from the bitmap data object. Assumes RGBA8888 format.
Definition: imageloader.cpp:48
bool exportImages(const std::vector< QImage > &images, const std::string &targetDir, const std::string &baseFilename, const std::string &fileExtension)
exportImages Exports the image data to an image format that Qt supports (depending on the file extens...
Definition: imageexporter.cpp:35
Definition: commandlineparser.cpp:73
bool exportImage(const QImage &image, const std::string &filePath)
exportImage Exports the image data to an image format that Qt supports (depending on the file extensi...
Definition: imageexporter.cpp:30
bool exportRasterizedSvg(const std::vector< geometrize::ShapeResult > &shapes, const std::uint32_t inputWidth, const std::uint32_t inputHeight, const std::uint32_t outputWidth, const std::uint32_t outputHeight, const std::string &filePath)
exportRasterizedSvg Exports the shape data as an image by rasterizing an SVG rendered from the shape ...
Definition: imageexporter.cpp:74
bool exportBitmap(const geometrize::Bitmap &bitmap, const std::string &filePath)
exportBitmap Exports the Geometrize bitmap data to an image format that Qt supports (depending on the...
Definition: imageexporter.cpp:24