Skip to content

img_tile converts an input image into a mosaic tiled image and produces an output "map" pdf file that can be used to construct a mosaic with actual ceramic tiles. Tile colours are specified in json format in a color file.

Notifications You must be signed in to change notification settings

bitbangr/img_tile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

img_tile

img_tile converts an input image into a tiled image and produces an output "map" pdf file that can be used to construct a mosaic with actual ceramic tiles. Tile colours are specified in json format in a color file.

Program parameters are specified in a json config file passed as a command line arg.

This program is run via command line. For example

workingdir%target/debug/img_tile --config ./config/config_200px_kroma_2x2.json

The input config file is in json format.

{ "tile_colors":"./tile_json/kroma_colors.json",
"input":"./images/4x4_Kroma_16.png",
"output":"./images/output/2x2_kroma.jpg",
"output_width":200.0,
"output_height":200.0,
"tile_size_x":50,
"tile_size_y":50,
"tile_space_x":0.0,
"tile_space_y":0.0,
"tiles_per_pane_width":2,
"tiles_per_pane_height":2}

img_tile is written in Rust.

About

img_tile converts an input image into a mosaic tiled image and produces an output "map" pdf file that can be used to construct a mosaic with actual ceramic tiles. Tile colours are specified in json format in a color file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages