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

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

#include <xtd/diagnostics/process>
#include <xtd/drawing/bitmap>
#include <xtd/io/path>
#include "../properties/resources.hpp"
using namespace xtd::diagnostics;
using namespace xtd::drawing;
using namespace xtd::io;
auto main() -> int {
auto bmp = image_pcx::properties::resources::gammasoft_pcx();
bmp.save(path::combine(path::get_temp_path(), "image_pcx.png"));
process::start(path::combine(path::get_temp_path(), "image_pcx.png"));
}
The xtd::diagnostics namespace provides classes that allow you to interact with system processes,...
Definition assert_dialog_result.hpp:10
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition actions_system_images.hpp:11
The xtd::io namespace contains types that allow reading and writing to files and data streams,...
Definition binary_reader.hpp:16