Skip to main content

Command line utility for converting images to seamless tiles.

Project description

Generic badge PyPI version shields.io Generic badge Generic badge

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

Source tiled

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

Converted tiled

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


Download files

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

Source Distribution

img2texture-0.0.1.tar.gz (5.6 kB view hashes)

Uploaded Source

Built Distribution

img2texture-0.0.1-py3-none-any.whl (6.9 kB view hashes)

Uploaded 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