It is currently Sun May 05, 2024 3:03 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: GIMP add-ons: types, installation, management
PostPosted: Sat Apr 16, 2011 12:17 pm  (#1) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
This article was copied into Gimp Chat under the Creative Commons license from Libre Graphics World. The original article can be found here

Thank you to Alexandre Prokoudine and Libre Graphics World for this fine article.

Beginner users of GIMP seem to have a standard set of questions about add-ons for GIMP: what is supported, where to get more, how to install, what is the difference between scripts and plug-ins, why Python scripts are actually plug-ins and so on. This article is a kind of ultimate guide to GIMP add-ons for people getting accustomed with the application.

The screenshots are from development GIMP 2.7 version, but the material is applicable for the current stable v2.6.
What kinds of add-ons exist

So what add-ons can you install for GIMP?

Brushes

GIMP currently supports four types of brushes:

  1. Native static bitmap brushes (.gbr and .gbh). They are very simple and very popular.
  2. Native procedural brushes (.vbr). Can have the shape of ellipse/circle, rectangle/square or star, with varying hardness, aspect ratio and so on.
  3. Native animated brushes (.gih). There are still quite a few of them in GIMP these days: Sparks, Grass and Chalk, for instance. In short, they are a bit like GIF animation: different bitmap images are used in a cycle as you keep painting.
  4. Adobe Photoshop brushes (.abr). Most versions of this file format are supported, multiple brushes from a single file will load just fine, but information about brush dynamics in ABR files is currently not used.

Since GIMP's model of brushes and Photoshop's model of brushes are rather different, GIMP dissects ABR files, so that every brush originally coming from a single file is represented separately:

Image


Note the "-016" number after a name of an ABR file for the currently selected brush.

Gradients

Currently GIMP supports only gradient definitions from SVG images and its own gradients file format (.ggr) that is far more complex than e.g. Photoshop's gradients. For example, it allows switching between various functions for blending between gradient segments which is desirable to achieve really complex and unique transitions between colors. Please refer to related part of the GIMP's user manual for details.

Image


Adding support for Photoshop gradients (.ggr as well) is possible. For conversion options please refer to "Conversion" section of the article.

Patterns

Natively GIMP supports GIMP's own patterns file format (.pat) that has a limit of 512×512px size, as well as PNG, JPEG, TIFF among other file formats that are supported by gdk-pixbuf (a GTK+ own image library). Contrary to GIMP's .pat for gdk-pixbuf supported file formats the limit doesn't exist. However you can install ps-pat-load extension by Eric Lamarque. Since GIMP currently doesn't allow extensions to load resources as resources, this extension makes it possible to open Photoshop patterns (.pat as well) as images, and if such a pattern has multiple patterns inside, all of them will be loaded as layers of one image. Here is what it looks like:

Image

For conversion options please refer to "Conversion" section of the article.

Palettes

Palettes, also often referred to as swatches, are collections of flat colors, named or not named.

GIMP supports the following types of palettes:

  • Native file format (.gpl)
  • Paint Shop Pro color palette (.pal)
  • Microsoft's RIFF palettes(.pal as well)
  • Adobe Photoshop Color files (.aco)
  • Photoshop Color Table palettes (.act)

GIMP's own file format, .gpl, turned out to be rather popular: it's supported by many free graphics applications and despite of being RGB-only is a kind of lingua franca for free graphics applications.

Image

For conversion options please refer to "Conversion" section of the article.

Fonts

This is usually not recommended, but you can install some additional fonts just for GIMP. Some people do it so they don't have to see all possible fonts available in non-design applications like word processors.

As much as it's highly subjective, a more flexible way is to use font managers that allow much more than just temporary enabling and disabling particular groups of fonts. There's a nice selection of font managers on Windows and Mac, both commercial and free. On Linux there are two currently active projects: Fontmatrix and, um, Font Manager :) Reportedly another currently inactive project, FontyPython, works nicely as well.

Scripts and plug-ins

A lot of additional functionality is provided thanks to scripts and plug-ins. The difference between the two can be a bit puzzling for inexperienced GIMP users, but there is nothing really so scary about it.

Scripts are little programs that are mostly used to automate execution of routine tasks. They are a bit like Photoshop actions, but written manually (which is not so good) and can be interactive (which is excellent). By far most popular scripts for GIMP are written in Scheme (or, rather, in a Scheme dialect called Script-Fu) and have .scm extension. Here is an example of a typical Script-Fu dialog.

Image


Scripts currently do not have preview, so if you got something wrong, you will have to undo, open the dialog again and redo it.

Plug-ins are a quite different. Whereas scripts can only use the functionality available in GIMP itself, plug-ins can provide entirely new features: filters, metafilters, file format loaders and savers and so on and so forth. For example, GIMP doesn't have recently trending wavelet filters yet, but some of such filters are available from third party developers (denoise, sharpen, decompose). Likewise RAW images are supported in GIMP thanks to UFRaw which can work as a GIMP plug-in.

Whereas scripts are written in so called interpreted languages and thus run on any major platform as-is, most GIMP plug-ins are written in C and thus have to be compiled for every target operation system.

Python scripts are a very special case. While Python is an interpreted scripting language, Python scripts are actually considered by GIMP as plug-ins and thus should be installed to same location where compiled plug-ins are. Currently Pythons scripts do not have preview either, but this is bound to change.

It is also possible to write scripts for GIMP in other languages like Ruby (a standalone project), as well as write plug-ins in all languages supported by Mono platform (C#, Nemerle etc.) which is possible thanks to gimp-sharp project.

Modules

Modules are very much like plug-ins except that they integrate into UI somewhat tighter. There are very few third party GIMP modules, I can immediately think of just two. The first one is a color selector by Y. Fujii that works in LCh color space (CIE LAB in polar coordinates).

Image


As you can see it just adds itself to the list of core GIMP's color selectors.

The second third party module is an advanced softproofing display filter by Yoshinori Yamakawa. You can read more about this module here.


Themes

Themes are description of basic things in GIMP's user interface like icons it uses, a font it uses for the interface, padding between user interface elements and suchlike (we'll talk about GIMP's UI customization in another article, at length). They are another uncommon kind of a GIMP add-on. So far I've seen just two additional GIMP themes, both of them are unmaintained (for years and years) and don't match the existing set of tools.

Anything else worth mentioning?

Least known, additional GEGL operations can be installed as well. Right now there are very few around, but with ongoing work on further GEGL integration it's bound to change. If you find some, on Linux it works like this: you copy. .c files to ~/.local/share/gegl-0.1/plug-ins/ and run 'make' from console inside this directory. After that experimental GEGL tools will be able to pick new operations.

When GIMP 2.8 is out, there will be two more types of shareable resources available: brush dynamics and named tools presets. But it's a big separate story too, let's not get carried away.

Conversion options

While lack of support for many available resource file formats such as e.g. ASE palettes in GIMP can be frustrating, the solution is very simple and free. SwatchBooker is a free application for Linux and Windows that allows editing color palettes with support for gradients and patterns coming in the next version.

SwatchBooker supports most file formats currently in use, including Adobe's, Corel's, Quark's and Autodesk's ones and saves GIMP palettes just fine. As already mentioned, the new version that is currently in development already supports both GIMP's and Photoshop's gradients and patterns.

Image


The package includes two applications: SwatchBooker editor, which is for editing swatches, and SwatchBooker Batch Convertor (screenshot above), which is for, well, batch conversion :)

Where to get add-ons

The ultimate source for scripts and plug-ins is GIMP Plugin Registry. It's a community driven project, everyone is encouraged to share various add-ons.

Brushes, palettes, patterns etc. are scattered across the web. GIMPstuff.org attempts to fix it, but so far fonts and brushes are heavily dominating. A nice collection of brushes can be found in hawksmont's blog. Other than that any big Photoshop related website will do.

Installation, best practices

The most common advice on installing add-ons in GIMP you get is in the lines of "OK, there is that folder... What was its name again... Oh! HIUQY%QGFPQE*TFUIHG. It's easy, just try it!".

As far as jokes go, this one is not so funny when you use another graphics editor that supports same add-ons. Which means you'd to have create a copy of your resources and keep it in sync.

Instead I encourage you to choose Edit > Preferences menu item in GIMP and have a good look at the Folders group of tabs. Say, you opened it in the Brushes tab:

Image


What you see here are locations where GIMP looks for existing brushes. The two default paths are a system folder that is accessible to all users of a system, and a local folder that is accessible only to system administrator and you (often the same person).

So if you absolutely want installing resources to a special GIMP's folder, you don't have to memorize its location: just click on the line with its name, which will appear above. You can select that text, copy it to clipboard and paste into address bar of either Explorer (Windows), Nautilus (UNIX, GNOME), Dolphin (UNIX, KDE) or use in Finder (Mac).

A better solution however is to keep resources (in this case — brushes) where you want to keep them (including local network, so you can access them from different computers) and just add the path to them. Which is very simple, here are the very few steps to do:

  1. Click the + button on the screenshot below to create a new location entry in the list, and then click the button with folder icon on it:

    Image

  2. Tell GIMP where your folder with custom brushes is:

    Image

  3. Now the Preferences dialog will list this new folder:

    Image

  4. After you click OK in the Preferences dialog, a warning will pop up to tell you that GIMP has to be restarted to take a newly added path into consideration:

    Image

One more little thing. For some types of add-ons like brushes and gradients there is a column in the list that says "Writable". What it means is that if the checkbox is on, GIMP will allow you to directly edit these resources. Otherwise you will be able to only duplicate a resource and edit that copy (it will automatically be put into default local GIMP's folder, e.g. inside ~/.gimp-2.6 on Linux).
Updating list of add-ons

Requirement to restart GIMP to make it find new add-ons in already known folders depends on the kind of add-ons. For brushes, gradients, patterns, palettes and fonts you don't need to restart GIMP: just click the circle arrow button in related dialog to make GIMP rescan folders for resources.

Image


If you installed .scm scripts, you don't have to restart GIMP either: use "Filters > Script-Fu > Refresh Scripts" to make GIMP rescan all folders for scripts. On newer computers it takes up to 10 seconds, on older it could be half a minute. This is also a handy feature for script developers, because you don't need to restart the whole application just to try a tiny change in code.

However if you installed Python scripts (.py) or plug-ins, you will have to restart GIMP.

Locating new add-ons

For resources like brushes and palettes it's obvious: you just look in the dialog where they are listed. For scripts and plug-in it's a little less obvious, but still very, very simple: just use "Help > Plug-In Browser" command to open a dialog that makes it very easy to find out which menus has a newly added script of plug-in. The picture below explains it all really:

Image


You switch to Tree View tab and start typing name of the script or plug-in. The list below updates as you type and displays tree of menu, so you get the idea where it is, and the right part of the dialog displays exact location. E.g. <Image>/Image/Separate from the screenshot above means the menu item you are looking for is in "Image > Separate" submenu.

The <Image> prefix means you look for it in the main GIMP's menu which is above an image. There are other prefixes, because some scripts can only be started from dialogs menus. For example <Palettes> prefix is for menu in the Palettes dialog.

Written by: Alexandre Prokoudine
License: CC BY SA 3.0 Unported
GIMP, brushes, scripts, plug-ins


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: GIMP add-ons: types, installation, management
PostPosted: Sat Apr 16, 2011 1:12 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12520
Or you can try to install this special version of GIMP and see what happens. :)

http://sourceforge.net/projects/gimpmp/
[Edit by moderator] Use SourceForge at your own risk.

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: GIMP add-ons: types, installation, management
PostPosted: Sat Apr 16, 2011 2:44 pm  (#3) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
lylejk wrote:
Or you can try to install this special version of GIMP and see what happens. :)
http://sourceforge.net/projects/gimpmp/


NEVER !! no even if "Jesus 'n Jim" would pay me a huge amount of cash for the risk!

it is so clear that who put togheter that thingy never used it, but just dumped in all the plugins scripts and whatelse that he could find, including Pearl scripts that will NEVER work in Wsin or in Mac

Anyway "Jesus 'n Jim" evoked in me some sort of religious feeling :
at soon i saw that page a invocation to the Mighty Lord " OH MY GOD! :gaah " spontaneusly erupted from my lips

PS if you are fan of horrors have a look to the details on the.. :roll: .. developer side!
http://jesusnjim.com/code/windows-mac/g ... ckage.html

I know i risk to acquire a lot of enemies with similar comments but...i just can't resist when stumbling on such cr... oh well i already expressed my opinion

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: GIMP add-ons: types, installation, management
PostPosted: Sat Apr 16, 2011 3:06 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2255
Location: Poland
And one more warning!!
Starting GIMPMassivePackage-2.6.11-11-setup.exe remove all existing installations GIMP.

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: GIMP add-ons: types, installation, management
PostPosted: Sat Apr 16, 2011 3:11 pm  (#5) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4050
The search engines (Google, Bing, etc) should make it mandatory to place precedent on the help searches to result in EXACT search landings. If someone types "gimp help" it should land on the GIMP.org help doc/site etc. The randomness of searches are just too unflattering, and besides who actually PAYS for search optimizations on Help sites for page ranking?

Is there an editable GIMP Wiki? I think all GIMP resources should be centrally located for ease of use. Maybe GIMP.org should open the door to this type of centralization.

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: GIMP add-ons: types, installation, management
PostPosted: Sat Apr 16, 2011 6:04 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: Oct 07, 2010
Posts: 439
Location: home/Nixnine/.gimp-2.0/scripts/nixnine.scm
I've spent almost ten years beefing up my copy of gimp. I think it's good for someone to have to build it up one script/brush/gradient at a time instead of downloading a complete package. You build it like you want it.

_________________
I refuse to be confused, but am often confused at this refusal.


Top
 Post subject: Re: GIMP add-ons: types, installation, management
PostPosted: Sat Apr 16, 2011 6:57 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
That is my thoughts exactly, everyone pimps their version the way they need it. :)
That massive 760mb + package has scared even me to use. :lol
I have had the link for some time contemplating though.... heheh

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: GIMP add-ons: types, installation, management
PostPosted: Sat Apr 16, 2011 7:37 pm  (#8) 
Offline
GimpChat Member
User avatar

Joined: Oct 07, 2010
Posts: 439
Location: home/Nixnine/.gimp-2.0/scripts/nixnine.scm
Scary, yes. Now my .gimp folder has nearly 800 mb in it, but that's been a slow growth over the years. I have a resource dvd I put together -- also over x number of years -- with 6200 items at 2.6 gb, but all of it is not meant to be used at the same time. It's a buffet - take what you want, leave what you don't. If everything I had was in the program, well it probably would freeze the program at start up. Many people whom I've introduced to gimp complain about the program taking forever to start. Which anyone with a little experience know it's probably all those pretty blasted brushes that they've just got to have.

Use what you need, store the rest.

_________________
I refuse to be confused, but am often confused at this refusal.


Top
 Post subject: Re: GIMP add-ons: types, installation, management
PostPosted: Sat Apr 16, 2011 8:44 pm  (#9) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12520
lol; I never would go this route either. Just noticed it on Sourceforge the other day and my eyes just about popped out my sockets when i saw 760MByte for the download. Thought I would wait to see the response here before I comment back (devious I am; bru ha ha ha ha). :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: GIMP add-ons: types, installation, management
PostPosted: Sat Apr 23, 2011 10:50 am  (#10) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
Quote:
Anything else worth mentioning?

Least known, additional GEGL operations can be installed as well. Right now there are very few around, but with ongoing work on further GEGL integration it's bound to change. If you find some, on Linux it works like this: you copy. .c files to ~/.local/share/gegl-0.1/plug-ins/ and run 'make' from console inside this directory. After that experimental GEGL tools will be able to pick new operations.


Somebody could expand this point ?

I had a look to the Gegl side and sure there are many gegl operations there but most seems not usable as filters, most seems more usable as internal operations to be called by other gegl based filters.

Not sure because the presentation of most operations is not too clear (at least for who not able to read in their codes)

i was looking mostly for high quality DOWNscaling, i knew that the same developer working to higher quality Upscaling was doing something analog but to scale down..but no luck!

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: GIMP add-ons: types, installation, management
PostPosted: Sat Apr 23, 2011 11:00 am  (#11) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
I still firmly believe in GURM. :)

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: GIMP add-ons: types, installation, management
PostPosted: Sat Apr 23, 2011 6:02 pm  (#12) 
Offline
GimpChat Member
User avatar

Joined: Oct 29, 2010
Posts: 711
Location: Netherlands
Thanks a lot Oregonian.
Lots of info I wasn't aware of.
Gerard.

_________________
Gentoo Linux always up-to-date.
Kernel-3.17.4 Python-2.7.8/3.3.5
Gimp-2.8.14

I use Linux only.
And Virtualbox with Win 7


Top
 Post subject: Re: GIMP add-ons: types, installation, management
PostPosted: Mon Dec 09, 2013 6:59 pm  (#13) 
Offline
GimpChat Member
User avatar

Joined: Dec 08, 2013
Posts: 1088
This little util might be of use to everyone (who cant get it) Dropit will organize any resource for GIMP (not only). Open source and small. downloaded from sf before the drama.


Attachments:
Werewolf sm.jpg
Werewolf sm.jpg [ 109.03 KiB | Viewed 11267 times ]

_________________
Image
Top
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) GEGL Outline Glow Types - potential plugin idea

1

No new posts Attachment(s) GEGL Custom Bevel - Change internal blend modes, blur types & more

39

No new posts Attachment(s) Problem with g'mic-gimp installation

9

No new posts Attachment(s) NEW COMPUTER-NEW GIMP INSTALLATION

3



* Login  



Powered by phpBB3 © phpBB Group