xtd 0.2.0
Loading...
Searching...
No Matches
image_pcx.cpp

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

#include <xtd/xtd>
#include "../properties/resources.hpp"
auto main() -> int {
auto bmp = image_pcx::properties::resources::gammasoft_pcx();
bmp.save(path::combine(path::get_temp_path(), "image_pcx.png"));
diagnostics::process::start(diagnostics::process_start_info {path::combine(path::get_temp_path(), "image_pcx.png")}.use_shell_execute(true));
}