Command line utility for converting images to seamless tiles.
Project description
img2texture
Command line utility for converting images to seamless tiles.
The resulting tiles can be used as textures in games, compositing and 3D modeling applications, etc.
Sample images
:warning: If images don't load, check out the original of this document on GitHub.
Original image x4
Orion galaxy by NASA/ESA, in four copies side by side.
We cannot use the original image as an endless space background: the seams are visible.
Converted image x4
The result of img2texture
, in four copies side by side.
The image is slightly reduced in size and the edges are modified with alpha-blending.
Seams no longer appear when merging. The converted image can be tiled and panned in any direction. It will feel endless and seamless.
Install
$ pip3 install img2texture
Run
$ img2texture /path/to/source.jpg /path/to/seamless_result.jpg
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for img2texture-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddb9f2d6247ea3988e3de0ef66a7690d2a97db3a88c4f4a7d04fc27f59e8dd9a |
|
MD5 | f167d0e6379037cb141a55405d5c2d97 |
|
BLAKE2b-256 | cdece7bc513b1a436308027483ddda9fbd2eed52f814c60aa4da3b746376d7b7 |