Skip to content

About

A set of CLI scripts to create seamless/tileable textures from .png/.jpg.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Img2SeamlessConverter (tileable textures from source images)

Short: a set of CLI scripts to create seamless/tileable textures from .png/.jpg.

Scripts

  • ConvertSingleImage2Seamless.py: makes a seamless version of one file and saves as _seamless. Run: python ConvertSingleImage2Seamless.py DEFAULT_OVERLAP - param that determines how much of the image will be used to hide the seams. Note: output resolution may be reduced on each axis.
  • RescaleSeamlessImage.py: upscales an image to the nearest power-of-two and saves as _upscaled. Run: python RescaleSeamlessImage.py
  • TileCreator.py: batch process for a file/folder (recursive), makes seamless + rescale, skips low-res (max side <= 128), can overwrite originals. Run: python TileCreator.py

Dependencies

  • Pillow
  • img2texture

Environment setup

  1. Create venv: python -m venv venv
  2. Activate (PowerShell): venv\Scripts\Activate.ps1
  3. Install deps: pip install pillow img2texture

Examples

Results

About

A set of CLI scripts to create seamless/tileable textures from .png/.jpg.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages