fast::ImageExporter class

Write an Image to a file using image format such as JPG/PNG/BMP/GIF.

This exporter uses Qt 5 to write an Image to file using common image formats. Check out Qt 5 webpage for more details on formats supported

Input ports

0: Image

Base classes

class FileExporter
Abstract class for file exporters.

Public functions

auto create(std::string filename, bool resampleIfNeeded) -> std::shared_ptr<ImageExporter>
void loadAttributes() override

Private functions

void execute() override

Function documentation

std::shared_ptr<ImageExporter> fast::ImageExporter::create(std::string filename, bool resampleIfNeeded)

Parameters
filename
resampleIfNeeded

Create instance