6.20. Image Window Title and Statusbar

Slika 15.106. Image Window Title and Statusbar formats

Image Window Title and Statusbar formats

This page lets you customize the text that appears in two places: the title bar of an image, and the status bar. The title bar should appear above the image; however this depends on cooperation from the window manager, so it is not guaranteed to work in all cases. The statusbar appears underneath the image, on the right side. See the Image Window section for more information.


6.20.1. Choosing a Format

You can choose among several predesigned formats, or you can create one of your own, by writing a format string in the entry area. Here is how to understand a format string: anything you type is shown exactly as you type it, with the exception of variables, whose names all begin with %. Here is a list of the variables you can use:

Variable Pomen
%f Bare filename of the image, or Untitled
%F Full path to file, or Untitled
%p Image id number (this is unique)
%i View number, if an image has more than one display
%t Image type (RGB, grayscale, indexed)
%z Zoom factor as a percentage
%s Source scale factor (zoom level = %d/%s)
%d Destination scale factor (zoom level = %d/%s)
%Dx Expands to x if the image is dirty, nothing otherwise
%Cx Expands to x if the image is clean, nothing otherwise
%l The number of layers
%L Število plasti (dolga oblika)
%m Memory used by the image
%n Ime aktivne plasti/kanala
%o Name of the color profile
%P ID aktivne plast/kanala
%w Širina slike v slik. točkah
%W Image width in real-world units
%h Višina slike v slik. točkah
%H Image height in real-world units
%u Unit symbol (eg. px for Pixel)
%U Okrajšava enot
%x Active layer width in pixels
%X Active layer width in real-world units
%y Active layer height in pixels
%Y Active layer height in real-world units
%% A literal % symbol