<body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>
 
 

top page, english, japanese


For design the tiling picture, How to create a tiling picture from a image file --

Tiling a picture falls roughly into two approaches.
One method is making up a wall painting due to paste general purpose tiles set. Another is making up a wall painting due to paste specified tiles which are already designed as parts of the picture.
Latter is more, and much coloring after pasting.

Icons in medieval Europe and geometric abstractive Arabian tilings take a latter approach. Icon was painted a subject of the Bible scene on one tile. Arabian tiling constructed abstractive pattern due to combine specified tiles already painted specified patterns.
In other words those treated tiles as a canvas, just like a jigsaw puzzle, each tile was specialized as a part of the picture.
As in Japan, talking of a tile picture, that's the Mt.Fuji which are painted on a wall of hot springs and public bathes. Those are almost coloring after pasting tiles.

A right picture is decorated on a wall of a hot spring in Atami. It has a nice ordonnance, water-wheel as near distance, a row of mountains as middle distance and Mt. Fuji as long distance. It's constructed with general-purposed tiles, which method is rare. Incidentally, the right picture is not a painting but a photograph.
This recipe is constructing a tile picture with general-purpose tiles set.

The software introduced in this page is also constructing a tile picture with general purpose tiles set.

Anything will do as an original picture, a photograph and an illustration and so on. The software creates a tile picture of those due to any color palette.
There is a lot of flexibility for setup the color palette. It could pick out any colors which express the original picture faithfully, and could apply an arbitrary color palette made by a user. Joint layout could be expressed.
In a word, it's a simulator of the tiling.

A left picture is a tiling of the Mt. Fuji painted by Hokusai, used the safe color as its color palette.

A color palette less color used sometimes makes few noisy tiles which creates an interesting tiling occasionally.

And the software could express a design data which are tile size and count of horizontal and vertical, color indexes of all tiles, RGB values of all tiles.
It also output a csv file of the design data, which makes any aggregate calculation easy by a spread sheet application.



Besides, It has basic functions of image processings. For tiling, it might be needed to crop and resize, any effects.

As for right pictures, an original picture is the Mt. Fuji painted by Hokusai and a right side one was effected to line drawing at once, and a left side one was done tiling.

The software come to be a modestly convenient image processing software in guessing due to add basic functions, edit and effect, filtering. Just basic functions, e.g. no partial delicate retouching function. Although it was aimed to best quality processing.

For examaples, it has bi-cubic and area-averaging methods for interpolation, those are able to be common-used for deformation,
Median-cut and error-dispersion for degreasing colors. Median-cut is processing due to LUV conversion,
Posterization and Histogram due to numerical setup for each color of RGB,
Filtering close to forty major operators, smoothing, edge-preserving, sharpening, edge-detection, de-noise and user-defined,

However, I think it's better to use the Photoshop or sophisticated free-charged softwares for such effects.

A user-defined color palette created as a CSV file could be called for conversion and degreasing colors. It's also a function for tiling. Due to create a color palette which has same RGB values as stock tiles set, it could simulate tiling completion pictures of phographs and illustrations. And it could output its design data.
The palette could be setup among 2 ~ 256 colors. That might be enough for usual tiles set.

Right pictures are design data of tiling the Mt. Fuji painted by Hokusai with safe-color palette. This data will be refered to Design Table on this following page.

Five file formats supported are bmp and jpg, png, tiff.

Try to run it at first please.
 


 
tilingPicture, for design A Tiling Picture with High Quality Effect
last updated on 7th January 2024 since 11th June 2005
Download ver.0.84.03 for Windows x86 -- it may be worked on Windows XP, 7, 8.x, 10 (32 bits)
Download ver.0.84.03 for Windows x64 -- it may be worked on Windows XP, 7, 8.x, 10 (64 bits)
 
Usage Summary
 
1. File
2. View
3. Edit
4. Effect
5. Filtering
6. Tiling
 
chapter1: Edit
 
1-1. Undo
1-2. Crop
1-3. Resize
1-4. Rotate
1-5. Flip
 
chapter2: Effect
 
2-1. Color Processing
2-2. Gray Scale
2-3. Black and White
2-4. Invert(Negative)
2-5. Posterization
2-6. Histogram Modify
 
chapter3: Filtering
 
3-1. Smoothing
3-2. Edge PreServing
3-3. Sharpening
3-4. Edge Detect
3-5. De Noise
3-6. User Filter
 
chapter4: Tiling
 
4-1. Tiling
4-2. Express Table
4-3. Save As CSV File
4-4. Something Like This
 


Usage Summary


There are five file formats supported as bmp, jpg, png, gif, tiff. Pixel formats supported of bitmap are 1bppIndexed, 4bppIndexed, 8bppIndexed, 24bppRGB, 32bppRGB, but not be sopported 16bpp and ARGB, PARGB.

'Open' of the pulldown menu opens a file. I forgot to add the function to open a file by drag and drop by oversight. That shall be added for next version.
'Close' closes a file already opened. 'Undo' would be voided by Close and Save, SaveAs.

A filename and expression scale are indicated on the title bar, and file size and bits per pixel are indicated on the status bar.
 



'Fit Window' expresses a file fully due to fit scaling in the window.

'Zoom' expresses among 5 to 1000 percentage scaling due to choice.

'Zoom Up' and 'Zoom Dn' change scaling in a step.

'Ctrl + Shift + Z' shortcut key expresses 100 percentage scaling.
 



'Undo' undoes last changes. The image turns back. It could undo last one hundred changes to the extent that a drive has enough capacity.

'Crop' does cropping / trimming the image. It's a common method to draw a cropping rectangle due to the mouse though, numerical setup is adopted daringly. That's sometimes convenience in terms of one pixel.

'Resize' does enlargement and reduction, change in shape. 'keep ratio' clicking keeps ratio of width and height after input a numeral of width or height. In case of that, last change would be a criterion.
As for the interpolation, bi-cubic method is adopted for enlargement and area-averaging method is adpted for reduction. In case of change in shape used both of enlargement and reduction, those methods also used compositely.
Bits per pixel of bitmap image would be 24bpp after interpolation.
In case of interpolation non-used, near-by method would be used for resize, and it's possible to select original bits per pixel or 24 bits per pixel for the effected image.

'Rotate' rotates the image. Pull down menus were arranged for 90, 180 and 270 degrees. 'Arbitrary' rotates due to input optional degree. Original bits per pixel is inherited in terms of 90 degrees, and 24 bits per pixel for optional dgrees.

'Flip' flips vertical or horizontal.
 



'Color Processing' decreases colors due to median-cut method, converts color palette due to standard color and even color, user-defined color. In these cases, error-dispersion method could be used.
It's possible to just convert to 24 bits per pixel image. In this case, error-dispersion method not have effects.
It's equal posterization to decrease colors without error-dispersion method. Equitable distribution posterization is equal to decrease colors due to use an even color palette.

'Gray Scale' converts the image to gray scale from 2 to 256 levels.
256 levels is comparable to true color as the gray scale. Therefor error-dispersion method is no used for that. In case of under 128 levels, error-dispersion method would be selectable.

'Black and White' converts the image to two colors black and white.
For separation to black or white, there are two methods as median-cut and threshold. It's possible to modify the histogram in advance for threshold. In normal cases, it's enough to use just threshold.

'Invert' inverts colors, so-called negative image. It's selectable original bits per pixel or 24 bits per pixel.

'Posterization' converts colors to equitable distribution colors. Each color of RGB could be distributed individually due to numeral input.

'Histogram Modify' modifies histogram. It converts range of color values of RGB individually. Default values is 0 to 255 which is equal to histogram expansion.
 



Filtering is one method of effects due to filters. A filter is also called "operator" and "mask" physically.
Almost famous operators are implemented to the software in guessing. And it's possible to use an operator created by a user.

'smoothing' makes colors smooth overall of an image. It's also possible to remove noises from an image in a way, but it has an effect to break the edge. Famous operators are gaussian and mean average, weighted average, which are ready multiple operators as different sizes. As another there is a selected smoothing operator.

'edge-preserving' is a kind of smoothing operators though, another menu is ready for. This operator makes an image color smooth but does not break the edge. One criterion is selectable from criteria for processing ready as range, variance and standard deviation. In usual it's enough to choice a variance. There are not large different results between those criteria.

'sharpening' has two sized operators of a high-pass filter. It sometimes make an unnatural image due to do too much.

'edge detection' has sobel, prewitt, kirsh and gradient which have directions as vertical, horizontal, oblique, vertical + horizontal, and has several types of laplacian, line and nipple.

'de noise' has median method which is the best for that. There are three sized operators.

'user defined' has two sized operators as 3 x 3 and 5 x 5.
 



There are roughly two setups for tiling, those are coloring and tiles.

As for color setup, 'in case of no checking 'convert color', tiling is processed to true-color. In case of checking 'convert color', there are three types of color palettes for selecting which are decreasing colors due to median-cut method and even-color palette, user-define color palette.

Multiplicator of 2 among 2 ~ 256 color would be selected for decreasing due to median-cut method. Even-color palette would be selected from eleven preset palettes. User-define color palette would be selected from CSV files which a user created in advance.
A user-define color palette is easy made as a CSV file. It could be a tiling simulator due to feed RGB values of real tiles set.

As for tile setup, sizes or counts of vertical and horizon should be configured. However, it would be approximate quantity in case of counts.
And, pixel size and color of vertical and horizon slits. Slit is considered as the width of joint. Slit colors are ready as six levels gray, which would be the color in case of tru-color, but would be converted to approximate color in the color palette in case of converting.

Both of right tiling pictures were decreased to sixteen colors. A left side picture was decreased due to median-cut method. A right side one was converted and decreased to sixteen colors due to even-color palette.

Decreasing colors due to the even-color palette has a same effect as the posterization. That mechanisms are same too.


Incidentally, I sometimes use a tiling picture to post into SNS for hide faces.

No need to make it this far, right pictures were decreased to two colors. Slit colors were allocated to the two colors due to set horizontal slit as light gray and set vertical slit as deep gray.

A right side picture was set double tile size. That made expressions on faces and outline form to be looming.

Right pictures are design tables of converting to sixteen even-color palette.

At first, basic file informations are expressed. And, RGB values table of slits and tiles colors are expressed in case of true color. In case of decreasing or converting colors, at first RGB values of the color palette are expressed and indexes of slits and tiles are expressed.

These informations could be saved as a CSV file. That makes easy to count specified index due to a spreadsheet software. Counts of each specified index/color tile would be calculated and be expressed.
 




chapter1: Edit


'Undo' cancels out last changes, i.e. undoes last changes. The image turns back. It could undo last one hundred changes to the extent that a drive has enough capacity.
However, it would be disabled in cases of open a new file or close a file, save a file.

Ctrl + Z as a shortcut key
 




'Crop' does cropping / trimming the image.
It's a common method to draw a cropping rectangle due to the mouse though, numerical setup is adopted daringly. That's sometimes convenience in terms of one pixel.

Edit Boxes of a dialog refrects image size. 1 for left and width for right, 1 for bottom, height for top are feeded automatically at first. These four sides would be cut due to exchange these figures.

Cropping size could be confirmed due to 'crop size' bottom after feed the figures.

Ctrl + C as a shortcut key
 



'Resize' does enlargement and reduction, change in shape.
'keep ratio' clicking keeps ratio of width and height after input a numeral of width or height. In case of that, last change would be a criterion.

As for the interpolation, bi-cubic method is adopted for enlargement and area-averaging method is adpted for reduction. In case of change in shape used both of enlargement and reduction, those methods also used compositely. That way might be best methods.
Bits per pixel of bitmap image would be 24bpp after interpolation.

In case of interpolation non-used, near-by method would be used for resize, and it's possible to select original bits per pixel or 24 bits per pixel for the effected image.

Ctrl + R as a shortcut key
 



'Rotate' rotates the image.
Pull down menus were arranged for 90, 180 and 270 degrees. 'Arbitrary' rotates due to input optional degree. Original bits per pixel is inherited in terms of 90 degrees, and 24 bits per pixel for optional dgrees.


In case of 'Arbitrary', minor degree makes an image to rotate left.
In case of interpolation, it's done due to bi-cubic method. In case of interpolation non-used, it's done due to nearby method.

The image rotated is still a rectangle. In terms of 90 degrees, image size is same as original one even if exchanged vertical and horizon. However, the image size grows to a large size in case of other degrees, and blank space comes into being.
Color of this blank space could be selected from six levels of gray included black and white.

Ctrl + 1 for 90 right, Ctrl + 2 for 180, Ctrl + 3 for 90 left, and Ctrl + A for Arbitrary as shortcut keys
 



'Flip' flips vertical or horizontal.

Ctrl + V for vertical, Ctrl + H for horizontal as shortcut keys
 




chapter 2: Effect


'Color Processing' decreases colors due to median-cut method, converts color palette due to standard color and even color, user-defined color. In these cases, error-dispersion method could be used.
It's possible to just convert to 24 bits per pixel image. In this case, error-dispersion method not have effects.
It's equal posterization to decrease colors without error-dispersion method. Equitable distribution posterization is equal to decrease colors due to use an even color palette.

As for the median-cut method, LUV three axises would be distributed after converting RGB to LUV. And the color palette is created due to undo LUV to RGB. That makes a color plette considered brightness.

Basic color palettes are preseted as 16 basc color palette and 147 extended basic color palette.

Even-color palettes are preseted twelve as 216 safe colors and eleven color palettes due to equal layout each value of RGB. Processing speed of even-color palette is faster crushingly than basic color palette and user-define color palette. Because proximate color could be calculated in case of even-color but it would be searched in case of other color palettes.

User-define color palette can be created as a CSV file. Colors(color-used) would be from 2 to 256. Please refer sample files in a folder located under the install folder.
 



'Gray Scale' converts the image to gray scale from 2 to 256 levels.
256 levels is comparable to true color as the gray scale. Therefor error-dispersion method is no used for that. In case of under 128 levels, error-dispersion method would be selectable.

Decreasing scale is done due to the median-cut method.

Ctrl + G as a shortcut key.
 



'Black and White' converts the image to two colors black and white.
For separation to black or white, there are two methods as median-cut and threshold. It's possible to modify the histogram in advance for threshold. In normal cases, it's enough to use just threshold.

The error dispersion method could be used for. That expresses halftone image looking from a distance though, rough dots would be boldness in only two colors.

Ctrl + B as a shortcut key
 



'Invert' inverts colors, so-called negative image.
It's selectable original bits per pixel or 24 bits per pixel.

Ctrl + I as a shortcut key
 



'Posterization' converts colors to equitable distribution colors.
Each color of RGB could be distributed individually due to numeral input.

Its result is same as converting due to even-color palette.

Ctrl + P as a shortcut key
 



'Histogram Modify' modifies histogram.
It converts range of color values of RGB individually. Default values is 0 to 255 which is equal to histogram expansion.
Color of RGB non-checked would not be converted.

In case of illustrations, brightness could be exchanged easily due to expand to unused range or shift the range. And, chromaticness could be exchanged due to exchange the range size even if the image is a photograph which uses full range.

Ctrl + M as a shortcut key.
 




chapter 3: Filtering


'smoothing' makes colors smooth overall of an image.
It's also possible to remove noises from an image in a way, but it has an effect to break the edge. Famous operators are gaussian and mean average, weighted average, which are ready multiple operators as different sizes. As another there is a selected smoothing operator.

Ctrl + Shift + M as a shortcut key.
 



'edge-preserving' is a kind of smoothing operators though, another menu is ready for. This operator makes an image color smooth but does not break the edge.
One criterion is selectable from criteria for processing ready as range, variance and standard deviation. In usual it's enough to choice a variance. There are not large different results between those criteria.

Ctrl + Shift + V as a shortcut key.
 



'sharpening' has two sized operators of a high-pass filter.
It sometimes make an unnatural image due to do too much.

Ctrl + Shift + P as a shortcut key.
 



'edge detection' has sobel, prewitt, kirsh and gradient which have directions as vertical, horizontal, oblique, vertical + horizontal, and has several types of laplacian, line and nipple.

Ctrl + Shift + E as a shortcut key.
 



'de noise' has median method which is the best for that. There are three sized operators.
It makes an image to be smoothing and makes the edge indistinct as to operate wide range. It has a beneficial effect on an image copied by a scanner.

Ctrl + Shift + D as a shortcut key.
 



'user defined' has two sized operators as 3 x 3 and 5 x 5.

Ctrl + Shift + F as a shortcut key.
 




chapter 4: Tiling


At the front and usage summary it was enough explained about the tiling. In this chapter, let's try to look around practical procedure of implementing a tiling wall painting.

Requirements are given on a whim as follows.

size of wall painting : width 4 m, height 3 m
size of a tile : width 4 cm, height 4 cm
colors of tiles set : 140 even-colors
width of joint : 3 mm
original image : width 700, height 490 (pixels)

As for colors of tiles set, 140 even-color palette is put the case though. In case of practical implementing, it's just a way to use a user-define color palette created as a CSV file which reflects RGB values of real tiles set.

Ratios are different between a wall picture and an original image. There are handling methods for that matter in four ways as follows:

1. makes height of a wall picture smaller to adjust to an original image.
2. infills upside of a wall white tiles cause background of an original image is white.
3. crops horizon of an original image to adjust to ratio of a wall.
4. transforms an original image to adjust to ratio of a wall.

Here, adopts 1 method. i.e. creates a wall picture sized as width 4000mm x height 2800mm.

Then, equalizes scale terms of sizes of an original image and a wall picture.
If width of joint had been 2 mm or 4 mm It would be good to put it as one pixel. However, cause tile size would be irrational number by that ratio, it would be good to put 1 mm to 1 pixel simply.
i.e. sizes of a tile would be 40 pixels x 40 pixels.
And sizes of a wall picture would be comparable to 4000 pixels x 2800 pixels.

For this simulation, It is only necessary to resize (upsize) an original image to width 4000 x height 2800 and set size of a tile to 40 x 40, set size of slit to 3 pixels, and tiling.

A right picture is that result. A tiling wall picture would be finished as same above completely.
 



After tiling, the design table could be expressed by a menu named "Express Table".
Ctrl + E as a shortcut key.
Data of the design table could be saved as a CSV file by a menu named "SaveAs CSV File".

At first, basic file informations is expressed. File siza as a bitmap is not really matter.
Tile counts are 93 as horizon x 66 as vertical which notices that 6138 tiles would be needed.

Then, indexes and RGB values of all tiles would be expressed.
Here, 140 even-color palette was used for though, if a user-define color palette refered to RGB values of real tiles set had been used for, the real data would be expressed.
Tiles counts of each color would be wished to be known. It's easy to calculate on a spreadsheet application though, I have an intention to implement a counting fuction for the next version. calculated and be expressed.
As for the right sample picture, there are some zero count of specified index/color tiles cause it's used even-color palette.

The index number begins from zero.

And, indexes of vertical and horizon slits colors, indexes of all tiles would be expressed. These tiles indexes would be formed as a table which are same locations as a wall picture.

The index begins from zero.

As for last row and column tiles, as a corollary, might be smaller than setup sizes in a lot of cases.
 



Data of the design table could be saved as a CSV file. Those are same as the data expressed on the software.

 





Impression just like a view through a gridwork.



Everyone knows



I have an intention to create this on the wall of my house. Paul Klee "Resting Sphinx"
Just sixteen colors.
 




please post any impressions you may have
 


e_mail to webmaster