adamdruppe / arsd

This is a collection of modules that I've released over the years. Most of them stand alone, or have just one or two dependencies in here, so you don't have to download this whole repo.
http://arsd-official.dpldocs.info/arsd.html
531 stars 128 forks source link

Pixmap Paint: Add Gamut integration #436

Open 0xEAB opened 4 months ago

0xEAB commented 4 months ago

Integrates Gamut with Pixmap Paint.

// Load image using Gamut
import gamut;
Image img;
img.loadFromFile("dunes.jpg");

// Convert to Pixmap
import arsd.pixmappaint;
Pixmap pixmap = img.toPixmap();