xtd 0.2.0
image_tiff.cpp

Shows how to use xtd::drawing::image class with tiff image.

#include <xtd/diagnostics/process>
#include <xtd/drawing/bitmap>
#include <xtd/io/path>
#include "../properties/resources.h"
using namespace xtd::diagnostics;
using namespace xtd::drawing;
using namespace xtd::io;
auto main()->int {
auto bmp = image_tiff::properties::resources::gammasoft_tiff();
bmp.save(path::combine(path::get_temp_path(), "image_tiff.png"));
process::start(path::combine(path::get_temp_path(), "image_tiff.png"));
}