<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3639167475383744245</id><updated>2011-07-31T11:09:35.072+01:00</updated><category term='Settings Toolbar'/><category term='Zoom'/><category term='Keyboard Shortcuts'/><category term='File Picker'/><category term='Opacity Mode'/><category term='Effects'/><category term='Colour Cube'/><category term='Pointillism'/><category term='Dithering'/><category term='Continuous Mode'/><category term='Nudging'/><category term='Mask'/><category term='Gradient'/><category term='Pan Window'/><category term='Brush Spacing'/><category term='Colour Ramp'/><category term='Convert To Indexed'/><category term='Brush Pasting'/><category term='Palette'/><category term='Palette Copy'/><category term='Stippling'/><category term='libmtpixel'/><category term='Multiple Image Clipboard'/><category term='Colour Protection'/><title type='text'>mtPaint Blog</title><subtitle type='html'>Tutorials, Examples, Tricks And Tips.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mtpaint.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3639167475383744245/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://mtpaint.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>mtPaint</name><uri>http://www.blogger.com/profile/17321242231245182611</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3639167475383744245.post-2990487972732668789</id><published>2008-11-22T22:08:00.006Z</published><updated>2010-06-25T09:57:01.680+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='File Picker'/><title type='text'>File Picker</title><content type='html'>During 2007 and 2008 I designed and implemented a new file picker for mtPaint.  Dmitry then refined my efforts to make the picker even better, with the final results now in version 3.30 of mtPaint:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_qBjgABiLgP4/SVjSgSawfHI/AAAAAAAAAI8/iaRVCDrfVf8/s1600-h/blog_008_1.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5285205614860991602" src="http://4.bp.blogspot.com/_qBjgABiLgP4/SVjSgSawfHI/AAAAAAAAAI8/iaRVCDrfVf8/s320/blog_008_1.png" style="cursor: pointer; display: block; height: 289px; margin: 0px auto 10px; text-align: center; width: 320px;" /&gt;&lt;/a&gt;&lt;br /&gt;Designing and implementing a new file picker was a big effort but I felt I had no choice due to my increasing frustration with the existing GTK+ file pickers.  For a few years I tolerated the Motif style GtkFileSelection, but the time finally came to improve things.  I also found that the GtkFileChooser is even worse due to its lack of functionality compared to more orthodox and mainstream file pickers.&lt;br /&gt;&lt;br /&gt;The general design of the new mtPaint file picker was deliberately conservative as I was looking to preserve the simplicity and ease of use I have seen in programs like OpenOffice, and most Windows/Qt/KDE systems.&lt;br /&gt;&lt;br /&gt;The picker also has the luxury of tab completions and wildcards.  If you type "p" into the entry box and press tab, only files beginning with "p" will be displayed.  If you type "dsc*.jpg" into the entry box and press tab, the file list will only display files beginning with "dsc" and ending with ".jpg".  As you would expect the * wildcard represents any number of characters and the ? wildcard represents exactly one character.&lt;br /&gt;&lt;br /&gt;I consider this new design to be far better than the rather feeble GTK+ designs, but some people may prefer the GtkFileSelection dialog, so if that is the case you can re-compile mtPaint with:&lt;br /&gt;&lt;br /&gt;./configure gtkfilesel&lt;br /&gt;make&lt;br /&gt;&lt;br /&gt;I have also started using this new picker in my other programs such as my 6502 disassembler &lt;a href="http://mt6502dis.sourceforge.net/"&gt;mt6502dis&lt;/a&gt; and my spreadsheet &lt;a href="http://code.google.com/p/mtcelledit/"&gt;mtCellEdit&lt;/a&gt;.   As well as my own programs this new picker can be added to any GTK+ program, so I decided to add it to Leafpad: I call this fork &lt;a href="http://sites.google.com/site/mtpaint/mtleafpad"&gt;mtLeafpad.&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3639167475383744245-2990487972732668789?l=mtpaint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mtpaint.blogspot.com/feeds/2990487972732668789/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3639167475383744245&amp;postID=2990487972732668789' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3639167475383744245/posts/default/2990487972732668789'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3639167475383744245/posts/default/2990487972732668789'/><link rel='alternate' type='text/html' href='http://mtpaint.blogspot.com/2008/11/file-picker.html' title='File Picker'/><author><name>Mark Tyler</name><uri>http://www.blogger.com/profile/05768356895845503665</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_qBjgABiLgP4/SVjSgSawfHI/AAAAAAAAAI8/iaRVCDrfVf8/s72-c/blog_008_1.png' height='72' width='72'/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3639167475383744245.post-5885665882806205119</id><published>2008-11-22T21:39:00.007Z</published><updated>2008-12-31T16:51:55.960Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Palette Copy'/><category scheme='http://www.blogger.com/atom/ns#' term='Colour Ramp'/><title type='text'>Colour Ramps &amp; Palette Copying</title><content type='html'>Version 3.30 of mtPaint has some new tools that allow you to easily create smooth horizontal or vertical ramps on the canvas.  See section 4.8 of the handbook for details on ramps.&lt;br /&gt;&lt;br /&gt;For this example I want to demonstrate how easy it is to use these tools to create a smooth palette based on just 4 primary colours.  Lets start by following these steps:&lt;br /&gt;&lt;br /&gt;* Create a new RGB image with a size of 16x16.&lt;br /&gt;* Place 4 colours in the corners of a 5x5 square (red, yellow, white and black in this case).  This is a screenshot of what this looks like:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_qBjgABiLgP4/SSh-zFR1ALI/AAAAAAAAAHM/QmK2KFLTLzo/s1600-h/blog+7_1.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 239px;" src="http://4.bp.blogspot.com/_qBjgABiLgP4/SSh-zFR1ALI/AAAAAAAAAHM/QmK2KFLTLzo/s320/blog+7_1.png" alt="" id="BLOGGER_PHOTO_ID_5271602779892547762" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;* Use the rectangle selection to outline a 5x1 rectangle from the red pixel to the yellow pixel.&lt;br /&gt;* Use the Selection menu to choose the horizontal ramp.&lt;br /&gt;* Repeat these steps for the white and black pixel and you should see this:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_qBjgABiLgP4/SSh_YfG_8VI/AAAAAAAAAHU/QunCBz6ojJY/s1600-h/blog+7_2.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 239px;" src="http://3.bp.blogspot.com/_qBjgABiLgP4/SSh_YfG_8VI/AAAAAAAAAHU/QunCBz6ojJY/s320/blog+7_2.png" alt="" id="BLOGGER_PHOTO_ID_5271603422481609042" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;* Select the full 5x5 area of the canvas and select the Vertical Ramp option from the Selection menu.&lt;br /&gt;* Lastly choose the "Copy to Palette" option from the Edit menu and you should get these smooth blends in the palette like this:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_qBjgABiLgP4/SSh_Y_RRt1I/AAAAAAAAAHc/TTG4PC02imE/s1600-h/blog+7_3.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 279px;" src="http://3.bp.blogspot.com/_qBjgABiLgP4/SSh_Y_RRt1I/AAAAAAAAAHc/TTG4PC02imE/s320/blog+7_3.png" alt="" id="BLOGGER_PHOTO_ID_5271603431114651474" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;This is a uniform 2 dimensional palette.  Its also possible to create non uniform 1 dimensional palettes.  To try this out follow these steps:&lt;br /&gt;&lt;br /&gt;* Create a new RGB image at size 25x5.&lt;br /&gt;* Place different coloured points at random positions along a line like this:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_qBjgABiLgP4/SSh_YzPqI0I/AAAAAAAAAHk/LYE6K0LP-9I/s1600-h/blog+7_4.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 179px;" src="http://4.bp.blogspot.com/_qBjgABiLgP4/SSh_YzPqI0I/AAAAAAAAAHk/LYE6K0LP-9I/s320/blog+7_4.png" alt="" id="BLOGGER_PHOTO_ID_5271603427886637890" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;* At this point we need to use the rectangle selection and the horizontal ramp as above to fill in each of the gaps.  As an aid to productivity I used the menu tear off the feature by clicking the horizontal dashed line at the top of the Selection menu like this:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_qBjgABiLgP4/SSh_ZI4X6SI/AAAAAAAAAHs/VXOUDO2hI4M/s1600-h/blog+7_5.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 176px;" src="http://2.bp.blogspot.com/_qBjgABiLgP4/SSh_ZI4X6SI/AAAAAAAAAHs/VXOUDO2hI4M/s320/blog+7_5.png" alt="" id="BLOGGER_PHOTO_ID_5271603433694554402" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;* Select the whole line and then choose the "Copy to Palette" option from the Edit menu and you should get these smooth blends in the palette like this:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_qBjgABiLgP4/SSh_ZF5Fp5I/AAAAAAAAAH0/W4wcoxv4hFw/s1600-h/blog+7_6.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 279px;" src="http://4.bp.blogspot.com/_qBjgABiLgP4/SSh_ZF5Fp5I/AAAAAAAAAH0/W4wcoxv4hFw/s320/blog+7_6.png" alt="" id="BLOGGER_PHOTO_ID_5271603432892245906" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3639167475383744245-5885665882806205119?l=mtpaint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mtpaint.blogspot.com/feeds/5885665882806205119/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3639167475383744245&amp;postID=5885665882806205119' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3639167475383744245/posts/default/5885665882806205119'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3639167475383744245/posts/default/5885665882806205119'/><link rel='alternate' type='text/html' href='http://mtpaint.blogspot.com/2008/11/colour-ramps-palette-copying.html' title='Colour Ramps &amp; Palette Copying'/><author><name>Mark Tyler</name><uri>http://www.blogger.com/profile/05768356895845503665</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_qBjgABiLgP4/SSh-zFR1ALI/AAAAAAAAAHM/QmK2KFLTLzo/s72-c/blog+7_1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3639167475383744245.post-1862112595464059794</id><published>2008-11-09T13:09:00.005Z</published><updated>2008-11-09T13:28:52.867Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Colour Cube'/><category scheme='http://www.blogger.com/atom/ns#' term='Palette'/><category scheme='http://www.blogger.com/atom/ns#' term='libmtpixel'/><title type='text'>Uniform Colour Cube Palettes</title><content type='html'>I have always had an artistic penchant for high contrast small palettes.  The best way of generating high contrast palettes with equally spaced colours is to chop up the colour cube in a uniform fashion.  The default mtPaint palette does this with the first 8 colours which are the 8 corners of the RGB colour cube.&lt;br /&gt;&lt;br /&gt;These 8 colours are formed in the 3 RGB dimensions by 2 divisions (i.e. 2x2x2).  However a 256 colour palette is large enough to house several other palettes:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://mtpaint.googlepages.com/pal_3x3x3.gpl"&gt;3x3x3    27 colour palette&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_qBjgABiLgP4/SRbhqP5JjjI/AAAAAAAAAFI/_ikL16alknA/s1600-h/pal_3x3x3.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 144px; height: 48px;" src="http://2.bp.blogspot.com/_qBjgABiLgP4/SRbhqP5JjjI/AAAAAAAAAFI/_ikL16alknA/s320/pal_3x3x3.png" alt="" id="BLOGGER_PHOTO_ID_5266644930193362482" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mtpaint.googlepages.com/pal_4x4x4.gpl"&gt;4x4x4    64 colour palette&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_qBjgABiLgP4/SRbhqaUh4-I/AAAAAAAAAFQ/dG0CefTvsxs/s1600-h/pal_4x4x4.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 256px; height: 64px;" src="http://3.bp.blogspot.com/_qBjgABiLgP4/SRbhqaUh4-I/AAAAAAAAAFQ/dG0CefTvsxs/s320/pal_4x4x4.png" alt="" id="BLOGGER_PHOTO_ID_5266644932992558050" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mtpaint.googlepages.com/pal_5x5x5.gpl"&gt;5x5x5    125 colour palette&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_qBjgABiLgP4/SRbhqrUAKYI/AAAAAAAAAFY/eGxkcbtshBg/s1600-h/pal_5x5x5.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 64px;" src="http://3.bp.blogspot.com/_qBjgABiLgP4/SRbhqrUAKYI/AAAAAAAAAFY/eGxkcbtshBg/s320/pal_5x5x5.png" alt="" id="BLOGGER_PHOTO_ID_5266644937553750402" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://mtpaint.googlepages.com/pal_6x6x6.gpl"&gt;6x6x6    216 colour palette&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_qBjgABiLgP4/SRbhqm8jFyI/AAAAAAAAAFg/WDngGO0tj6M/s1600-h/pal_6x6x6.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 54px;" src="http://2.bp.blogspot.com/_qBjgABiLgP4/SRbhqm8jFyI/AAAAAAAAAFg/WDngGO0tj6M/s320/pal_6x6x6.png" alt="" id="BLOGGER_PHOTO_ID_5266644936381634338" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;If you are a C language programmer you might be interested in trying out the program I wrote to generate these palettes and images:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://mtpaint.googlepages.com/pal3456-0.2.zip"&gt;pal3456-0.2.zip source code&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I have used my own &lt;a href="http://mtpaint.sourceforge.net/libmtpixel.html"&gt;libmtpixel&lt;/a&gt; library to make palette and image creation possible with just a few lines of C code.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3639167475383744245-1862112595464059794?l=mtpaint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mtpaint.blogspot.com/feeds/1862112595464059794/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3639167475383744245&amp;postID=1862112595464059794' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3639167475383744245/posts/default/1862112595464059794'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3639167475383744245/posts/default/1862112595464059794'/><link rel='alternate' type='text/html' href='http://mtpaint.blogspot.com/2008/11/uniform-colour-cube-palettes.html' title='Uniform Colour Cube Palettes'/><author><name>Mark Tyler</name><uri>http://www.blogger.com/profile/05768356895845503665</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_qBjgABiLgP4/SRbhqP5JjjI/AAAAAAAAAFI/_ikL16alknA/s72-c/pal_3x3x3.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3639167475383744245.post-5243012640857666164</id><published>2008-11-09T13:02:00.004Z</published><updated>2008-11-09T13:08:12.791Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dithering'/><category scheme='http://www.blogger.com/atom/ns#' term='Convert To Indexed'/><category scheme='http://www.blogger.com/atom/ns#' term='Effects'/><title type='text'>Dithering Effect</title><content type='html'>As explained in &lt;a href="http://mtpaint.sourceforge.net/handbook/en_GB/chap_06.html#SEC8"&gt;section 6.8&lt;/a&gt; of the mtPaint handbook, the "Convert To Indexed" tool in the Image menu is very powerful and allows many types of effect to be created on photos or other RGB images.&lt;br /&gt;&lt;br /&gt;Here is a photograph:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_qBjgABiLgP4/SRbcPm0lFFI/AAAAAAAAAEQ/ctSGEnqvOBE/s1600-h/blog4_1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 214px;" src="http://4.bp.blogspot.com/_qBjgABiLgP4/SRbcPm0lFFI/AAAAAAAAAEQ/ctSGEnqvOBE/s320/blog4_1.jpg" alt="" id="BLOGGER_PHOTO_ID_5266638974933603410" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I then converted this to 32 colours using a PNN quantize, and the "Dithered (effect)" option:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_qBjgABiLgP4/SRbgMwnC23I/AAAAAAAAAFA/tD6xmoOEY7I/s1600-h/blog5_2.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 214px;" src="http://2.bp.blogspot.com/_qBjgABiLgP4/SRbgMwnC23I/AAAAAAAAAFA/tD6xmoOEY7I/s320/blog5_2.png" alt="" id="BLOGGER_PHOTO_ID_5266643324068092786" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;If you look closely, you can see that the dithering adds its own texture to all of the objects in the image, perhaps similar to fabric or canvas.&lt;br /&gt;&lt;br /&gt;To see the above images in all their glory you will need to click them to view them at 100%.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3639167475383744245-5243012640857666164?l=mtpaint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mtpaint.blogspot.com/feeds/5243012640857666164/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3639167475383744245&amp;postID=5243012640857666164' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3639167475383744245/posts/default/5243012640857666164'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3639167475383744245/posts/default/5243012640857666164'/><link rel='alternate' type='text/html' href='http://mtpaint.blogspot.com/2008/11/dithering-effect.html' title='Dithering Effect'/><author><name>Mark Tyler</name><uri>http://www.blogger.com/profile/05768356895845503665</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_qBjgABiLgP4/SRbcPm0lFFI/AAAAAAAAAEQ/ctSGEnqvOBE/s72-c/blog4_1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3639167475383744245.post-3183992718856114178</id><published>2008-11-09T12:45:00.004Z</published><updated>2008-11-18T21:59:41.713Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dithering'/><category scheme='http://www.blogger.com/atom/ns#' term='Stippling'/><category scheme='http://www.blogger.com/atom/ns#' term='Pointillism'/><category scheme='http://www.blogger.com/atom/ns#' term='Convert To Indexed'/><category scheme='http://www.blogger.com/atom/ns#' term='Effects'/><title type='text'>Pointillism &amp; Stippling Effects</title><content type='html'>Pointillism is a style of painting which can produce some very interesting results by blending just a few primary colours.  When creating paintings like this manually it can take an inordinate amount of time as each dot is individually placed.  However, mtPaint is able to create these images quickly and easily with a large amount of control over how the colours and dots are chosen.&lt;br /&gt;&lt;br /&gt;Here is a photograph:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_qBjgABiLgP4/SRbcPm0lFFI/AAAAAAAAAEQ/ctSGEnqvOBE/s1600-h/blog4_1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 214px;" src="http://4.bp.blogspot.com/_qBjgABiLgP4/SRbcPm0lFFI/AAAAAAAAAEQ/ctSGEnqvOBE/s320/blog4_1.jpg" alt="" id="BLOGGER_PHOTO_ID_5266638974933603410" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;By using the "Convert To Indexed" tool in the Image menu I created this:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_qBjgABiLgP4/SRbcP-JRiCI/AAAAAAAAAEg/Fb-mRZ0V-2k/s1600-h/blog4_2.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 214px;" src="http://1.bp.blogspot.com/_qBjgABiLgP4/SRbcP-JRiCI/AAAAAAAAAEg/Fb-mRZ0V-2k/s320/blog4_2.png" alt="" id="BLOGGER_PHOTO_ID_5266638981194418210" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I used 8 colours, Use current palette and Floyd-Steinberg options.  I changed the default settings to use Separate/Split error propagation with a propagation value of 90.&lt;br /&gt;&lt;br /&gt;To see the above images in all their glory you will need to click them to view them at 100%.  As you can see from the results, although only 8 colours have been used, mtPaint has been able to blend the coloured pixels well enough to capture the essence of the original colours.&lt;br /&gt;&lt;br /&gt;A related technique is stippling, where only 2 shades are used.  This is most commonly done with a black ink pen on a white page.  This can be done in mtPaint as you can see from this image:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_qBjgABiLgP4/SRbcP5u0bJI/AAAAAAAAAEY/yuJJYs4uJEw/s1600-h/blog4_3.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 214px;" src="http://4.bp.blogspot.com/_qBjgABiLgP4/SRbcP5u0bJI/AAAAAAAAAEY/yuJJYs4uJEw/s320/blog4_3.png" alt="" id="BLOGGER_PHOTO_ID_5266638980009716882" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I achieved this by loading the original JPEG, moving the white palette colour 7 to position 1 (hold the shift key, left click the white colour 7, and drag it to position 1 and then release the left mouse button), and then doing the same steps as above, but having only 2 colours in the final image.&lt;br /&gt;&lt;br /&gt;To learn more about the specific options in the "Convert To Indexed" window, see &lt;a href="http://mtpaint.sourceforge.net/handbook/en_GB/chap_06.html#SEC8"&gt;section 6.8&lt;/a&gt; of the mtPaint handbook.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3639167475383744245-3183992718856114178?l=mtpaint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mtpaint.blogspot.com/feeds/3183992718856114178/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3639167475383744245&amp;postID=3183992718856114178' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3639167475383744245/posts/default/3183992718856114178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3639167475383744245/posts/default/3183992718856114178'/><link rel='alternate' type='text/html' href='http://mtpaint.blogspot.com/2008/11/pointillism-stippling-effects.html' title='Pointillism &amp; Stippling Effects'/><author><name>Mark Tyler</name><uri>http://www.blogger.com/profile/05768356895845503665</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_qBjgABiLgP4/SRbcPm0lFFI/AAAAAAAAAEQ/ctSGEnqvOBE/s72-c/blog4_1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3639167475383744245.post-2927481962114557939</id><published>2008-10-22T09:35:00.004+01:00</published><updated>2008-10-22T09:48:06.438+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Zoom'/><category scheme='http://www.blogger.com/atom/ns#' term='Pan Window'/><category scheme='http://www.blogger.com/atom/ns#' term='Keyboard Shortcuts'/><category scheme='http://www.blogger.com/atom/ns#' term='Nudging'/><category scheme='http://www.blogger.com/atom/ns#' term='Palette'/><title type='text'>Keyboard Shortcuts</title><content type='html'>The keyboard is often a sadly underused input method for graphics programs.  mtPaint doesn't fall into the trap of being "mousebound" as it contains many keyboard shortcuts that can greatly increase productivity and the pleasure of painting.&lt;br /&gt;&lt;br /&gt;For example you can use the arrow keys to move the cursor by one pixel at a time.  When you hold the shift key down as well you "nudge" the cursor by a pre-determined amount as set by the preferences window (press CTRL+P to set this value).  By selecting a round brush (by pressing F3) I was then able to create this screenshot by moving the cursor with Shift+Arrows and then the Enter key to commit the brush action:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_qBjgABiLgP4/SP7mFU7cfGI/AAAAAAAAADY/niI0_--Drn8/s1600-h/blog3_01.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_qBjgABiLgP4/SP7mFU7cfGI/AAAAAAAAADY/niI0_--Drn8/s320/blog3_01.png" alt="" id="BLOGGER_PHOTO_ID_5259894394007092322" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I was able to quickly change the brush colours by pressing the "[" and "]" keys which change the current colour A.  Colour B can be change by using Shift and the same keys.  Colour B is used if you ever want to paint using one of the pre-defined brush patterns, which can be chosen by pressing the F2 key:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_qBjgABiLgP4/SP7mFwQCitI/AAAAAAAAADg/qZsvkB0kHfU/s1600-h/blog3_02.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_qBjgABiLgP4/SP7mFwQCitI/AAAAAAAAADg/qZsvkB0kHfU/s320/blog3_02.png" alt="" id="BLOGGER_PHOTO_ID_5259894401341229778" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Another useful set of keys regard the zoom feature.  If you press the "6" key you will immediately be zoomed in to 800% like this:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_qBjgABiLgP4/SP7mGPodPBI/AAAAAAAAADo/vVN1pfADtUo/s1600-h/blog3_03.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_qBjgABiLgP4/SP7mGPodPBI/AAAAAAAAADo/vVN1pfADtUo/s320/blog3_03.png" alt="" id="BLOGGER_PHOTO_ID_5259894409765141522" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Other number keys zoom to different percentages, with 4 returning you to 100%.  The "+" or "-" keys zoom up or down by one level.  You can then quickly navigate around using the pan window by pressing the "End" key, and then use the arrow keys to move the main view:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_qBjgABiLgP4/SP7mGdAAUMI/AAAAAAAAADw/6Kn4lFZqOj8/s1600-h/blog3_04.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_qBjgABiLgP4/SP7mGdAAUMI/AAAAAAAAADw/6Kn4lFZqOj8/s320/blog3_04.png" alt="" id="BLOGGER_PHOTO_ID_5259894413353570498" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;There are many other useful keyboard shortcuts.  Some are listed alongside the menu options, and the others are listed in the &lt;a href="http://mtpaint.sourceforge.net/handbook/"&gt;mtPaint handbook&lt;/a&gt; in &lt;a href="http://mtpaint.sourceforge.net/handbook/en_GB/chap_A.html#SEC1"&gt;section A.1&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3639167475383744245-2927481962114557939?l=mtpaint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mtpaint.blogspot.com/feeds/2927481962114557939/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3639167475383744245&amp;postID=2927481962114557939' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3639167475383744245/posts/default/2927481962114557939'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3639167475383744245/posts/default/2927481962114557939'/><link rel='alternate' type='text/html' href='http://mtpaint.blogspot.com/2008/10/keyboard-shortcuts.html' title='Keyboard Shortcuts'/><author><name>Mark Tyler</name><uri>http://www.blogger.com/profile/05768356895845503665</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_qBjgABiLgP4/SP7mFU7cfGI/AAAAAAAAADY/niI0_--Drn8/s72-c/blog3_01.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3639167475383744245.post-3253664373911349241</id><published>2008-10-21T12:46:00.004+01:00</published><updated>2008-10-21T13:01:28.295+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Brush Pasting'/><category scheme='http://www.blogger.com/atom/ns#' term='Multiple Image Clipboard'/><category scheme='http://www.blogger.com/atom/ns#' term='Settings Toolbar'/><category scheme='http://www.blogger.com/atom/ns#' term='Opacity Mode'/><category scheme='http://www.blogger.com/atom/ns#' term='Continuous Mode'/><category scheme='http://www.blogger.com/atom/ns#' term='Brush Spacing'/><title type='text'>Brush Spacing In Non-Continuous Mode</title><content type='html'>As explained in &lt;a href="http://mtpaint.sourceforge.net/handbook/en_GB/chap_03.html#SEC51"&gt;section 3.5.1&lt;/a&gt; of the &lt;a href="http://mtpaint.sourceforge.net/handbook/"&gt;mtPaint handbook&lt;/a&gt;, it is possible to paint on the canvas in continuous or non-continuous mode so that brush points are either joined together or spaced apart.  Normally continuous mode is preferable for sketching and painting, but non-continuous mode allows some interesting effects to be achieved.&lt;br /&gt;&lt;br /&gt;For this example I shall be painting with non-continuous mode and with opacity mode switched off, so I press F7 to display the settings toolbar and then adjust as follows:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_qBjgABiLgP4/SP3BS4cFJ5I/AAAAAAAAACY/DDiMVufUc0g/s1600-h/blog2_01.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_qBjgABiLgP4/SP3BS4cFJ5I/AAAAAAAAACY/DDiMVufUc0g/s320/blog2_01.png" alt="" id="BLOGGER_PHOTO_ID_5259572469970577298" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I then right click on the continuous mode icon to set the brush spacing:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_qBjgABiLgP4/SP3BS26k6hI/AAAAAAAAACg/j0X9c_4iick/s1600-h/blog2_02.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_qBjgABiLgP4/SP3BS26k6hI/AAAAAAAAACg/j0X9c_4iick/s320/blog2_02.png" alt="" id="BLOGGER_PHOTO_ID_5259572469561616914" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Now I can select a brush and colour of my choice and paint on the canvas with equal spaces between each of the brush marks on the canvas:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_qBjgABiLgP4/SP3BTPxCCEI/AAAAAAAAACo/tG1VkO_O4mM/s1600-h/blog2_03.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_qBjgABiLgP4/SP3BTPxCCEI/AAAAAAAAACo/tG1VkO_O4mM/s320/blog2_03.png" alt="" id="BLOGGER_PHOTO_ID_5259572476232468546" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Brush spacing also works well for pasting so I created this by dragging and pasting a piece of clip art:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_qBjgABiLgP4/SP3BTFfx0kI/AAAAAAAAACw/JkV_b4J4Zi4/s1600-h/blog2_04.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_qBjgABiLgP4/SP3BTFfx0kI/AAAAAAAAACw/JkV_b4J4Zi4/s320/blog2_04.png" alt="" id="BLOGGER_PHOTO_ID_5259572473475748418" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;The clip art I used was this:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_qBjgABiLgP4/SP3BTafIPjI/AAAAAAAAAC4/9o4vu_g7xlI/s1600-h/blog2_05.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_qBjgABiLgP4/SP3BTafIPjI/AAAAAAAAAC4/9o4vu_g7xlI/s320/blog2_05.png" alt="" id="BLOGGER_PHOTO_ID_5259572479110168114" border="0" /&gt;&lt;/a&gt;To get this clip art as a paste I needed to start another instance of mtPaint, load the blue orb, press Ctrl+A to select the image, and then Ctrl+F9 to save this as image 9 in the multiple image clipboard.  I can then load this clipboard into the first instance of mtPaint by pressing Shift+F9 and start pasting with it.&lt;br /&gt;&lt;br /&gt;While you have 2 instances of mtPaint running, there is another trick you can try.  If you change the hue of the blue orb (press the "Insert" key to display the transform image dialog) you can change the orb's colour:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_qBjgABiLgP4/SP3Bc7PA6WI/AAAAAAAAADA/RPSW5Sd039c/s1600-h/blog2_06.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_qBjgABiLgP4/SP3Bc7PA6WI/AAAAAAAAADA/RPSW5Sd039c/s320/blog2_06.png" alt="" id="BLOGGER_PHOTO_ID_5259572642519771490" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;By using the multiple image clipboard you can then easily switch between colours for pasting with say Shift+F7, Shift+F8 and Shift+F9:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_qBjgABiLgP4/SP3BdF-YiZI/AAAAAAAAADI/dX6T-EAuQKg/s1600-h/blog2_07.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_qBjgABiLgP4/SP3BdF-YiZI/AAAAAAAAADI/dX6T-EAuQKg/s320/blog2_07.png" alt="" id="BLOGGER_PHOTO_ID_5259572645402806674" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Another trick to try is where you set opacity to 40 and then brush spacing to 1 which creates these effects:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_qBjgABiLgP4/SP3BdJ_SBHI/AAAAAAAAADQ/kB42bgMQ1mI/s1600-h/blog2_08.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_qBjgABiLgP4/SP3BdJ_SBHI/AAAAAAAAADQ/kB42bgMQ1mI/s320/blog2_08.png" alt="" id="BLOGGER_PHOTO_ID_5259572646480315506" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3639167475383744245-3253664373911349241?l=mtpaint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mtpaint.blogspot.com/feeds/3253664373911349241/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3639167475383744245&amp;postID=3253664373911349241' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3639167475383744245/posts/default/3253664373911349241'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3639167475383744245/posts/default/3253664373911349241'/><link rel='alternate' type='text/html' href='http://mtpaint.blogspot.com/2008/10/brush-spacing-in-non-continuous-mode.html' title='Brush Spacing In Non-Continuous Mode'/><author><name>Mark Tyler</name><uri>http://www.blogger.com/profile/05768356895845503665</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_qBjgABiLgP4/SP3BS4cFJ5I/AAAAAAAAACY/DDiMVufUc0g/s72-c/blog2_01.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3639167475383744245.post-7286789465776918027</id><published>2008-10-20T12:39:00.003+01:00</published><updated>2008-10-21T12:45:35.200+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Gradient'/><category scheme='http://www.blogger.com/atom/ns#' term='Mask'/><category scheme='http://www.blogger.com/atom/ns#' term='Settings Toolbar'/><category scheme='http://www.blogger.com/atom/ns#' term='Palette'/><category scheme='http://www.blogger.com/atom/ns#' term='Colour Protection'/><title type='text'>Colour Protection Mask</title><content type='html'>When I first created mtPaint in 2004, one of the most important features I wanted was a colour protection mask (as described in &lt;a href="http://mtpaint.sourceforge.net/handbook/en_GB/chap_03.html#SEC34"&gt;section 3.3.4&lt;/a&gt; of the &lt;a href="http://mtpaint.sourceforge.net/handbook/"&gt;mtPaint handbook&lt;/a&gt;).  This feature allows the artist to protect certain areas of the canvas according to their colour so that they don't get painted over.&lt;br /&gt;&lt;br /&gt;To demonstrate the value of this feature, here is a simple example.  Firstly I create a new RGB image in mtPaint with a size of 500x400 pixels.  I then create a hill effect using a round brush with colours 227-230 from the default palette, and then a few birdlike creatures in the sky, as per this screenshot:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_qBjgABiLgP4/SPxw71aPY1I/AAAAAAAAAAU/-p7hm2DqsYY/s1600-h/blog1_01.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_qBjgABiLgP4/SPxw71aPY1I/AAAAAAAAAAU/-p7hm2DqsYY/s320/blog1_01.png" alt="" id="BLOGGER_PHOTO_ID_5259202638113629010" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;At this point you can quickly test the protection mask by clicking on the area to the right of colours 228-230 in the palette, which should bring up the crosses to show that these colours are now protected:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_qBjgABiLgP4/SPxxIY6s2zI/AAAAAAAAAAc/AFF64AmMnbI/s1600-h/blog1_02.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_qBjgABiLgP4/SPxxIY6s2zI/AAAAAAAAAAc/AFF64AmMnbI/s320/blog1_02.png" alt="" id="BLOGGER_PHOTO_ID_5259202853803449138" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;To test this protection we can scribble a new colour across the canvas:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_qBjgABiLgP4/SPxxabRq91I/AAAAAAAAAAk/yXT-hl7NMJ0/s1600-h/blog1_03.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_qBjgABiLgP4/SPxxabRq91I/AAAAAAAAAAk/yXT-hl7NMJ0/s320/blog1_03.png" alt="" id="BLOGGER_PHOTO_ID_5259203163674310482" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;As we can see the 3 colours in the hills have been protected.  However the black background, the white birds the the rearmost green shade have not been protected.  Before we colour the sky, we must therefore also protect colours 227 and 7 in the palette.&lt;br /&gt;&lt;br /&gt;The simplest way to create a sky in mtPaint is to use the gradient tool.  Firstly you select the 2 colours you wish to use at either end of the gradient so left click on colour 4 (blue) and right click on colour 7 (white).  Now you must place the gradient start and end points so choose the gradient placement tool from the toolbar.  Lastly you left click near the top of the canvas and then left click further down which should result in this:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_qBjgABiLgP4/SPxx0D3WwMI/AAAAAAAAAAs/hs4VIsfD48s/s1600-h/blog1_04.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_qBjgABiLgP4/SPxx0D3WwMI/AAAAAAAAAAs/hs4VIsfD48s/s320/blog1_04.png" alt="" id="BLOGGER_PHOTO_ID_5259203604066517186" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Notice how this preview still respects the colour protection mask as the birds have not been hidden in the same way as the unprotected black canvas.  The next stage is to configure the gradient so that there are no black bands above and below the start/end points.  To do this right click on the gradient placement icon on the toolbar which should bring this dialog up:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_qBjgABiLgP4/SPxx0doBOBI/AAAAAAAAAA0/gUGJRf5R-6A/s1600-h/blog1_05.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_qBjgABiLgP4/SPxx0doBOBI/AAAAAAAAAA0/gUGJRf5R-6A/s320/blog1_05.png" alt="" id="BLOGGER_PHOTO_ID_5259203610981513234" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;You should then change "Extension type" to "Level" which extends the colours beyond the end points.  If you click OK you should then see this new gradient in action.  At this point the gradient has not been committed to the canvas so you can move the endpoints to suit your artistic whim.  To do this simply click near an endpoint, move the mouse to the new point and then click again to fix the new position:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_qBjgABiLgP4/SPxx0UZsNwI/AAAAAAAAAA8/9Xb4JKFsg2Y/s1600-h/blog1_06.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_qBjgABiLgP4/SPxx0UZsNwI/AAAAAAAAAA8/9Xb4JKFsg2Y/s320/blog1_06.png" alt="" id="BLOGGER_PHOTO_ID_5259203608505497346" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;At this point I am now happy with the results so I want to commit this to the canvas.  Firstly I must switch the painting mode to use the gradient, so I press F7 on the keyboard to bring up the settings toolbar:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_qBjgABiLgP4/SPxx0rEf63I/AAAAAAAAABE/rpYvidwsEXc/s1600-h/blog1_07.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_qBjgABiLgP4/SPxx0rEf63I/AAAAAAAAABE/rpYvidwsEXc/s320/blog1_07.png" alt="" id="BLOGGER_PHOTO_ID_5259203614590626674" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I must then click the gradient bar so that gradient mode is switched on.  The easiest way to paint this gradient over the whole of the canvas is to paint a rectangle over the whole picture.  To do this press Ctrl+A, and then click the "Fill Selection" icon on the toolbar which should then commit the gradient paint to the canvas.  If you intend doing any more painting with other tools, remember to turn the gradient mode off so you can paint as normal.  Here is the final picture:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_qBjgABiLgP4/SPxx0sABRrI/AAAAAAAAABM/-Vte5cIOWQo/s1600-h/blog1_08.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_qBjgABiLgP4/SPxx0sABRrI/AAAAAAAAABM/-Vte5cIOWQo/s320/blog1_08.png" alt="" id="BLOGGER_PHOTO_ID_5259203614840276658" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3639167475383744245-7286789465776918027?l=mtpaint.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mtpaint.blogspot.com/feeds/7286789465776918027/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3639167475383744245&amp;postID=7286789465776918027' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3639167475383744245/posts/default/7286789465776918027'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3639167475383744245/posts/default/7286789465776918027'/><link rel='alternate' type='text/html' href='http://mtpaint.blogspot.com/2008/10/colour-protection-mask.html' title='Colour Protection Mask'/><author><name>Mark Tyler</name><uri>http://www.blogger.com/profile/05768356895845503665</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_qBjgABiLgP4/SPxw71aPY1I/AAAAAAAAAAU/-p7hm2DqsYY/s72-c/blog1_01.png' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
