{"id":850,"date":"2011-05-29T09:57:19","date_gmt":"2011-05-29T07:57:19","guid":{"rendered":"http:\/\/hex.ro\/wp\/?p=850"},"modified":"2011-05-29T10:16:57","modified_gmt":"2011-05-29T08:16:57","slug":"gimp-with-resynthesizer-plugin","status":"publish","type":"post","link":"https:\/\/hex.ro\/wp\/blog\/gimp-with-resynthesizer-plugin\/","title":{"rendered":"Gimp with Resynthesizer plugin"},"content":{"rendered":"<p><a href=\"http:\/\/registry.gimp.org\/node\/25219\">Resynthesizer<\/a> plugin for Gimp works similar to Adobe Photoshop content aware fill. It is not as easy to install which is a bit of a shame since it is great.<\/p>\n<p>This post details the installation steps I had to do so that I get it to work.<\/p>\n<p>You need the following files, installed in the order below:<\/p>\n<p>1) <a href=\"http:\/\/www.python.org\/download\/releases\/2.6\/\">python-2.6.msi<\/a>. Gimp only supports python 2.5 and 2.6. If you install later versions, you won&#8217;t be able to activate  &#8220;GIMP Python extensions&#8221; in the &#8220;Customize&#8221; window when installing Gimp.<\/p>\n<p>2) <a href=\"http:\/\/ftp.gnome.org\/pub\/GNOME\/binaries\/win32\/pygtk\/2.24\/\">pygtk-all-in-one-2.24.0.win32-py2.6.msi<\/a>. Make sure that you download the ALL IN ONE bundle ~32Mb as it includes the additional PyCairo,     PyGObject and PyGTK modules. They are needed, and if you don&#8217;t install them then &#8220;Filters\/Python-fu&#8221; won&#8217;t appear in Gimp menus and nor the python plug-ins that come on top of the Resynthesizer.<\/p>\n<p>3) <a href=\"http:\/\/www.gimp.org\/downloads\/\">gimp-2.6.11-i686-setup-1.exe<\/a>. On the installation page &#8220;Ready to Install&#8221;, click &#8220;Customize&#8221;. After you confirm the installation folder and clicking &#8220;Next&#8221;, the window &#8220;Select Components&#8221; appears. Confirm that &#8220;GIMP Python extensions&#8221; is selected as below, then finish the installation. Let Gimp start and confirm that you have the &#8220;Filters\/Python-fu&#8221; entry available in the menus.<\/p>\n<div id=\"attachment_853\" style=\"width: 523px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/hex.ro\/wp\/wp-content\/uploads\/2011\/05\/screen_1.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-853\" class=\"size-full wp-image-853\" title=\"GIMP Python extensions\" src=\"http:\/\/hex.ro\/wp\/wp-content\/uploads\/2011\/05\/screen_1.jpg\" alt=\"GIMP Python extensions window.\" width=\"513\" height=\"398\" srcset=\"https:\/\/hex.ro\/wp\/wp-content\/uploads\/2011\/05\/screen_1.jpg 513w, https:\/\/hex.ro\/wp\/wp-content\/uploads\/2011\/05\/screen_1-300x232.jpg 300w\" sizes=\"auto, (max-width: 513px) 100vw, 513px\" \/><\/a><p id=\"caption-attachment-853\" class=\"wp-caption-text\">GIMP Python extensions<\/p><\/div>\n<p>4) <a title=\"http:\/\/aljacom.com\/~gimp\/Resynthesizer_v1.0-i686.zip\" href=\"http:\/\/aljacom.com\/%7Egimp\/Resynthesizer_v1.0-i686.zip\">Resynthesizer_v1.0-i686.zip<\/a>. I found the link on the <a href=\"http:\/\/registry.gimp.org\/node\/25219\">Resynthesizer<\/a> plugin description. The current author (<strong>bootchk<\/strong>) says that he does not have the time to create a Windows installer but a good guy <strong>samj<\/strong> seemed to have compiled a Windows version and offering it.<\/p>\n<p>Installing Resynthersizer is a bit of .zip unpacking and copying the files. The zip contains the main resynthesizer plug-in (the executables) as well as some other Python plugins that do their job based on it. I found the most useful one to be the Heal selection one (which, at the end, you will find it in &#8220;Filters\/Enhance\/Heal Selection&#8221;.<\/p>\n<p>5) Unpack the .zip archive, and copy the 10 files (basically the *.py and *.exe) into Gimp&#8217;s plugin folder. You find the Gimp plugin folder into &#8220;Edit\/Preferences&#8221; screen and clicking on the &#8220;Folders\/Plug-ins&#8221; item:<\/p>\n<div id=\"attachment_854\" style=\"width: 339px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/hex.ro\/wp\/wp-content\/uploads\/2011\/05\/screen_2.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-854\" class=\"size-full wp-image-854 \" title=\"Plug-ins folder\" src=\"http:\/\/hex.ro\/wp\/wp-content\/uploads\/2011\/05\/screen_2.jpg\" alt=\"Plug-ins folder window\" width=\"329\" height=\"293\" srcset=\"https:\/\/hex.ro\/wp\/wp-content\/uploads\/2011\/05\/screen_2.jpg 659w, https:\/\/hex.ro\/wp\/wp-content\/uploads\/2011\/05\/screen_2-300x267.jpg 300w\" sizes=\"auto, (max-width: 329px) 100vw, 329px\" \/><\/a><p id=\"caption-attachment-854\" class=\"wp-caption-text\">GIMP Plug-ins folder<\/p><\/div>\n<p>I&#8217;ve chosen to copy them into &#8220;c:\\Program Files\\GIMP-2.0\\lib\\gimp\\2.0\\plug-ins&#8221;.<\/p>\n<p>The list of files to be copied:<\/p>\n<pre class=\"lang: bash\">\r\nplugin-heal-selection.py\r\nplugin-heal-transparency.py\r\nplugin-map-style.py\r\nplugin-render-texture.py\r\nplugin-resynth-enlarge.py\r\nplugin-resynth-fill-pattern.py\r\nplugin-resynth-sharpen.py\r\nplugin-uncrop.py\r\nresynthesizer-gui.exe\r\nresynthesizer.exe\r\n<\/pre>\n<p>I have the UAC disabled on Windows 7, but if you have UAC on, you need to copy the 10 files into your C:\\Users\\[username]\\.gimp-2.6\\plug-ins folder (in your home folder).<\/p>\n<p>That&#8217;s it!<\/p>\n<p>The magic happens after you select the area you want healed and then choose &#8220;Filters\/Enhance\/Heal selection&#8230;&#8221; tool:<\/p>\n<div id=\"attachment_856\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/hex.ro\/wp\/wp-content\/uploads\/2011\/05\/screen_3.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-856\" class=\"size-medium wp-image-856\" title=\"Heal selection ...\" src=\"http:\/\/hex.ro\/wp\/wp-content\/uploads\/2011\/05\/screen_3-300x221.jpg\" alt=\"Heal selection ...\" width=\"300\" height=\"221\" srcset=\"https:\/\/hex.ro\/wp\/wp-content\/uploads\/2011\/05\/screen_3-300x221.jpg 300w, https:\/\/hex.ro\/wp\/wp-content\/uploads\/2011\/05\/screen_3.jpg 742w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-856\" class=\"wp-caption-text\">Heal selection ...<\/p><\/div>\n<p>The crane went away:<\/p>\n<div id=\"attachment_866\" style=\"width: 199px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/hex.ro\/wp\/wp-content\/uploads\/2011\/05\/screen_4.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-866\" class=\"size-medium wp-image-866\" title=\"Photo healed\" src=\"http:\/\/hex.ro\/wp\/wp-content\/uploads\/2011\/05\/screen_4-189x300.jpg\" alt=\"Photo healed\" width=\"189\" height=\"300\" srcset=\"https:\/\/hex.ro\/wp\/wp-content\/uploads\/2011\/05\/screen_4-189x300.jpg 189w, https:\/\/hex.ro\/wp\/wp-content\/uploads\/2011\/05\/screen_4.jpg 313w\" sizes=\"auto, (max-width: 189px) 100vw, 189px\" \/><\/a><p id=\"caption-attachment-866\" class=\"wp-caption-text\">Photo healed<\/p><\/div>\n<p>Happy editing \ud83d\ude42<\/p>\n<p>Observations:<\/p>\n<p>It works also on Windows 7 64bit, but I kept everything 32bit just to be safe.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Resynthesizer plugin for Gimp works similar to Adobe Photoshop content aware fill. It is not as easy to install which is a bit of a shame since it is great. This post details the installation steps I had to do so that I get it to work. You need the following files, installed in the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":856,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31],"tags":[],"class_list":["post-850","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-photography"],"_links":{"self":[{"href":"https:\/\/hex.ro\/wp\/wp-json\/wp\/v2\/posts\/850","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hex.ro\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hex.ro\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hex.ro\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hex.ro\/wp\/wp-json\/wp\/v2\/comments?post=850"}],"version-history":[{"count":11,"href":"https:\/\/hex.ro\/wp\/wp-json\/wp\/v2\/posts\/850\/revisions"}],"predecessor-version":[{"id":864,"href":"https:\/\/hex.ro\/wp\/wp-json\/wp\/v2\/posts\/850\/revisions\/864"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hex.ro\/wp\/wp-json\/wp\/v2\/media\/856"}],"wp:attachment":[{"href":"https:\/\/hex.ro\/wp\/wp-json\/wp\/v2\/media?parent=850"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hex.ro\/wp\/wp-json\/wp\/v2\/categories?post=850"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hex.ro\/wp\/wp-json\/wp\/v2\/tags?post=850"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}