Skip to main content

Convert pixel images to diamond art templates

Project description

PyPi Release

Diamond Art

What is diamond art?

Diamond art is a way of creating textured images by attaching small plastic gems to a canvas. The gems are facetted such that they reflect light, giving the finished product a glitzy look.

Kits are typically sold with a pre-printed canvas covered by a grid of symbols under a layer of double-stick tape. The symbols indicate which color diamond to adhere. Large artworks may require adhering thousands of diamonds in dozens of colors.

Installation

The tool can be installed from pypi. It requires python 3.7 or newer.

pip install diamond-art

Alternately, source can be downloaded from github and installed with

python setup.py install

Usage

First create your image. My 6 year old son created this image of a house using a pixel editor (scaled up for visibility).

Pixel image of a house

This can be converted to a diamond painting using the command line tool:

diamond_art examples/house_6yo.png examples/house_6yo_canvas.png

which produces this:

Diamond art template of a house

When printed at 100% scale (approximately 300 dpi by default) the resulting canvas will fit 2.5mm gems perfectly.

License

Diamond-art is released under the BSD license.

Credits

  • Created by Spencer Bliven

Changelog

0.1.0 (2021-11-21)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

diamond_art-0.1.0.tar.gz (92.6 kB view hashes)

Uploaded Source

Built Distribution

diamond_art-0.1.0-py2.py3-none-any.whl (91.2 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page