Editing Producing a stippled image with Gimp

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 26: Line 26:
 
After launching Gimp, open your image file using the "Open..." item under the "File" menu item,
 
After launching Gimp, open your image file using the "Open..." item under the "File" menu item,
  
http://wiki.evilmadscience.com/s3/eggbot/tspart/step01.png
+
http://mtbaldy.us/~dnewman/tspart/step01.png
  
 
A file selection dialog will appear.  Navigate to the file containing your image and click the "Open" button.  [Note that on some platforms, Gimp supports drag-n-drop to select and open an image file.]
 
A file selection dialog will appear.  Navigate to the file containing your image and click the "Open" button.  [Note that on some platforms, Gimp supports drag-n-drop to select and open an image file.]
Line 32: Line 32:
 
Upon opening your image file, Gimp will likely toss up a question like the one shown below.  You can click "Cancel" or "Assign".  For our purposes, either choice is okay.
 
Upon opening your image file, Gimp will likely toss up a question like the one shown below.  You can click "Cancel" or "Assign".  For our purposes, either choice is okay.
  
http://wiki.evilmadscience.com/s3/eggbot/tspart/step02.png
+
http://mtbaldy.us/~dnewman/tspart/step02.png
  
 
Once the image file is opened, you should be presented with a new Gimp window displaying your image,
 
Once the image file is opened, you should be presented with a new Gimp window displaying your image,
  
http://wiki.evilmadscience.com/s3/eggbot/tspart/step03.png
+
http://mtbaldy.us/~dnewman/tspart/step03.png
  
  
Line 42: Line 42:
 
From the menu bar in the window with your opened image file, select the "Image" menu item.  From that drop down menu, select the "Mode..." item and then "Grayscale".
 
From the menu bar in the window with your opened image file, select the "Image" menu item.  From that drop down menu, select the "Mode..." item and then "Grayscale".
  
http://wiki.evilmadscience.com/s3/eggbot/tspart/step04.png
+
http://mtbaldy.us/~dnewman/tspart/step04.png
  
 
Once you've done that, your image should then appear in grayscale,
 
Once you've done that, your image should then appear in grayscale,
  
[http://wiki.evilmadscience.com/s3/eggbot/tspart/step05.png
+
[http://mtbaldy.us/~dnewman/tspart/step05.png
  
  
Line 52: Line 52:
 
Now, from the "Colors" drop down menu, select the "Levels..." item.
 
Now, from the "Colors" drop down menu, select the "Levels..." item.
  
[http://wiki.evilmadscience.com/s3/eggbot/tspart/step06.png
+
[http://mtbaldy.us/~dnewman/tspart/step06.png
  
 
That will bring up a new window with the title "Adjust Color Levels".  In that window, you want to set the "All Channels" output level to a large number in the range 180 to 245.  You can do that by entering a numeric value in the circled field or by sliding the triangular slider indicated with the red arrow.  
 
That will bring up a new window with the title "Adjust Color Levels".  In that window, you want to set the "All Channels" output level to a large number in the range 180 to 245.  You can do that by entering a numeric value in the circled field or by sliding the triangular slider indicated with the red arrow.  
  
http://wiki.evilmadscience.com/s3/eggbot/tspart/step07.png
+
http://mtbaldy.us/~dnewman/tspart/step07.png
  
 
The larger the output level value, the more washed out the resulting image.  The more washed out the image, the fewer the number of resulting stipple points in the later steps.  The next figure, shows the result of adjusting the output level to 200.
 
The larger the output level value, the more washed out the resulting image.  The more washed out the image, the fewer the number of resulting stipple points in the later steps.  The next figure, shows the result of adjusting the output level to 200.
  
http://wiki.evilmadscience.com/s3/eggbot/tspart/step08.png
+
http://mtbaldy.us/~dnewman/tspart/step08.png
  
  
Line 68: Line 68:
 
To convert the image to black and white, use the "Mode..." item in the "Image" drop down menu.  Select the "Indexed..." mode,
 
To convert the image to black and white, use the "Mode..." item in the "Image" drop down menu.  Select the "Indexed..." mode,
  
http://wiki.evilmadscience.com/s3/eggbot/tspart/step09.png
+
http://mtbaldy.us/~dnewman/tspart/step09.png
  
 
The "Convert Image to Indexed Colors" window will then appear.  In this window, select "Use black and white (1-bit) palette" for the colormap.  Also, for dithering select "Floyd-Steinberg (normal)".
 
The "Convert Image to Indexed Colors" window will then appear.  In this window, select "Use black and white (1-bit) palette" for the colormap.  Also, for dithering select "Floyd-Steinberg (normal)".
  
http://wiki.evilmadscience.com/s3/eggbot/tspart/step10.png
+
http://mtbaldy.us/~dnewman/tspart/step10.png
  
 
After making those two selections, press the "Convert" button.  Your image will now appear stippled.
 
After making those two selections, press the "Convert" button.  Your image will now appear stippled.
  
http://wiki.evilmadscience.com/s3/eggbot/tspart/step11.png
+
http://mtbaldy.us/~dnewman/tspart/step11.png
  
 
If you do not see individual stipples, or there are too many, or some regions just look like a gray cloud, then you probably have too many stipples.  Go back to Step 2 and reduce the size of the image to 50 or 25% of its original size.  Alternatively, you can wash the image out even more in Step 3.  Or, try both.  The image size may be reduced with the "Scale Image..." item of the "Image" drop down menu.  Yet another technique is to boost the contrast of the image while it is still in grayscale.  In the two side-by-side images below, the stippled image on the right has had its contrast increased by 50% prior to being stippled.  To adjust contrast with Gimp, use the "Brightness-Contrast..." item of the "Colors" menu.
 
If you do not see individual stipples, or there are too many, or some regions just look like a gray cloud, then you probably have too many stipples.  Go back to Step 2 and reduce the size of the image to 50 or 25% of its original size.  Alternatively, you can wash the image out even more in Step 3.  Or, try both.  The image size may be reduced with the "Scale Image..." item of the "Image" drop down menu.  Yet another technique is to boost the contrast of the image while it is still in grayscale.  In the two side-by-side images below, the stippled image on the right has had its contrast increased by 50% prior to being stippled.  To adjust contrast with Gimp, use the "Brightness-Contrast..." item of the "Colors" menu.
Line 86: Line 86:
 
Once you are satisfied with your stippling effort, save your result in a new file.  For use with the Python scripts described at [[Generating TSP art from a stippled image]], you must save the stippled image using the PBM format (Portable Bit Map).  This is easily achieved with Gimp.  First, from the "File" menu select the "Save As..." item,
 
Once you are satisfied with your stippling effort, save your result in a new file.  For use with the Python scripts described at [[Generating TSP art from a stippled image]], you must save the stippled image using the PBM format (Portable Bit Map).  This is easily achieved with Gimp.  First, from the "File" menu select the "Save As..." item,
  
http://wiki.evilmadscience.com/s3/eggbot/tspart/step12.png
+
http://mtbaldy.us/~dnewman/tspart/step12.png
  
 
Once you have done that, you should see a "Save Image" window.  Enter the name to save this new file as.  But, before actually saving the file, you need to set the output format to PBM.  In the "Save Image" window, click on the triangle to the right of the line "Select File Type",
 
Once you have done that, you should see a "Save Image" window.  Enter the name to save this new file as.  But, before actually saving the file, you need to set the output format to PBM.  In the "Save Image" window, click on the triangle to the right of the line "Select File Type",
  
http://wiki.evilmadscience.com/s3/eggbot/tspart/step13.png
+
http://mtbaldy.us/~dnewman/tspart/step13.png
  
 
Scroll down in the list of file types and select the "PBM image" type,
 
Scroll down in the list of file types and select the "PBM image" type,
  
http://wiki.evilmadscience.com/s3/eggbot/tspart/step14.png
+
http://mtbaldy.us/~dnewman/tspart/step14.png
  
 
Now, go ahead and click the "Save" button.  You may be presented with a window with the title "Save as PNM".  That's misleading but don't worry: a PBM file will be produced.  You can select either "Raw" or "ASCII" as the data formatting: the TSP art scripts accept either.  The raw format takes up much less space and is faster for the TSP art tools to load, so you might as well pick "Raw".
 
Now, go ahead and click the "Save" button.  You may be presented with a window with the title "Save as PNM".  That's misleading but don't worry: a PBM file will be produced.  You can select either "Raw" or "ASCII" as the data formatting: the TSP art scripts accept either.  The raw format takes up much less space and is faster for the TSP art tools to load, so you might as well pick "Raw".

Please note that all contributions to Evil Mad Scientist Wiki are considered to be released under the GNU Free Documentation License 1.3 (see Evil Mad Scientist Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)