carol.gimp.org

GIMP2 basics Preferences

Image Window Title & Status Format

TheGIMP's Image Windows have a few places where it can display information about your image.

The notation used is format strings. The % character is what the windows recognize and the character after the % represents an expansion.

The notation is detailed in the gimprc manpage.

preferences-imagewindows-titlestatus-default

Image Title Format

This information goes into the Image Window title. You can select a title from the previously stylized title formats or make your own.

preassembled titles

Here is one of those little javascripted web displays:

imagewindow-title-custom
my customized title

Truthfully, the screen shots found on this web site were altered to remove the "PDB image id" and the "view instance number" (meaning, I used the paint tool instead of these preferences). Here is that title done the correct way. (no javascript here)

  • %D*%f (%t, %L) %wx%h
imagewindow-title-custom

Image Statusbar Format

This information goes into the Image Window title. You can select a title from the previously stylized title formats or make your own.

preassembled statusbars

Here is one of those little javascripted web displays:

imagewindow-statusbar
a custom status bar

While getting the screen shots for this page and watching how the information in the statusbar effects the size of the image window, I saw and had to handle the way the image window changed to accommodate for the length of the information contained there. I was fully prepared to remove the editorial comments about gimp2's image window always having excess canvas area since the menubar option arrived. My custom statusbar format shows that the excess canvas is still there even when there is no information presented in the statusbar. My custom statusbar contains no information.

  • No Information " "
imagewindow-statusbar-none

The Format Strings

The format strings are listed in the gimprc manpage. Here is what I found in mine:


          Sets the text to appear in image window titles.  This is a format string; cer-
          tain % character sequences are recognised and expanded as follows:

          %%  literal percent sign
          %f  bare filename, or "Untitled"
          %F  full path to file, or "Untitled"
          %p  PDB image id
          %i  view instance number
          %t  image type (RGB, grayscale, indexed)
          %z  zoom factor as a percentage
          %s  source scale factor
          %d  destination scale factor
          %Dx expands to x if the image is dirty, the empty string otherwise
          %Cx expands to x if the image is clean, the empty string otherwise
          %B  expands to (modified) if the image is dirty, the empty string otherwise     
          %A  expands to (clean) if the image is clean, the empty string otherwise
          %l  the number of layers
          %L  the number of layers (long form)
          %m  memory used by the image
          %n  the name of the active layer/channel
          %P  the PDB id of the active layer/channel
          %w  image width in pixels
          %W  image width in real?world units
          %h  image height in pixels
          %H  image height in real?world units
          %u  unit symbol
          %U  unit abbreviation

 Manual page gimprc-2.1(1) line 388/776 53%

another-gnu-type

Most all of my software is gnu. thanks!

Valid XHTML 1.1!

Creative Commons License

This work is licensed under a Creative Commons License.