This is a program to help artists who draw with pencil from colored photos (graphite / charcoal / sanguine). The technique used is tone building.
MIT open source
- This program takes a color or gray photo, transforms it into gray.
- Then expands the dynamic range of the photo to occupy all the 0 to 255 value range.
- Then asks the user for the number of independent values or tones and subdivide the image into different tones.
- It then shows them in a cumulative order, so that the user builds value or tone at each cumulative slice.
- At each image the user knows what regions have the same value or tone.
- You have the option to overlay a grid to all images and to choose the number of columns/rows.
- In all the process the program opens the images in windows and save them to files.
Install Python Anaconda version 3.7 or greater.
Install the Pillow library.
Config the following variables:
# Configurations.
path_in = ".//images_in//"
path_out = ".//images_out//"
file_image_in = "lena-color.jpg"
num_gray_tones = 8
grid_on = True # True / False
grid_number = 4 # Grid num_col = num_row.
Note: This program was tested on Windows but it should also work on Linux and MAC, but i didn't tested.
Have fun!