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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file diamond_art-0.1.0.tar.gz.

File metadata

  • Download URL: diamond_art-0.1.0.tar.gz
  • Upload date:
  • Size: 92.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for diamond_art-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a83da47b22d7ba6bc1288fd994be9b51caeba8234f8922aeb8df57824768fb96
MD5 b33a31963dd4e39c6c04ecabf85e56b5
BLAKE2b-256 b52f2daaaaac7a4cad55c1816c611ac1b590e1af524d8be2d5af0f9c42925ac2

See more details on using hashes here.

File details

Details for the file diamond_art-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: diamond_art-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 91.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for diamond_art-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 83369806b459b78632768ed15881f7b533ef5310bc2601d30680b8d50bdc1e1e
MD5 f12a08d5ccdca1e762aefdd90715e45d
BLAKE2b-256 ba0f83af8c18db05ba50ec4493a4990a35545ea8f4d5f7f1a1669ba0aea63e99

See more details on using hashes here.

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