Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Show image size in window title ot statusbar

36 views
Skip to first unread message

D. Johnson

unread,
May 28, 2004, 2:24:26 PM5/28/04
to
Hi,
I'm using Gimp 2.0.0

Is there any way to have the image width and height shown in the window
title or in the statusbar ?

I see other settings in preferences for memory usage (%m) etc.
but nothing for image size. It's not there is it ?

--
D. Johnson

Sven Hartenstein

unread,
Jun 2, 2004, 5:30:19 AM6/2/04
to
Hi,

> Is there any way to have the image width and height shown in the
> window title or in the statusbar ?
> I see other settings in preferences for memory usage (%m) etc.
> but nothing for image size. It's not there is it ?

It is: use %w and %h

Sven

Michael Schumacher

unread,
Jun 2, 2004, 5:48:43 AM6/2/04
to
Sven Hartenstein <ma...@svenhartenstein.de> writes:

All avaialble tokens are documented in the gimprc manpage, which can
be found here: http://www.gimp.org/unix/man-gimprc-2.0.html

%% 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
%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


HTH,
Michael

--
The GIMP > http://www.gimp.org | IRC: irc://irc.gimp.org/gimp
Sodipodi > http://sodipodi.sf.net | IRC: irc://irc.gimp.org/sodipodi

D. Johnson

unread,
Jun 4, 2004, 10:34:38 AM6/4/04
to
Michael Schumacher <uiseal...@rupert.informatik.uni-stuttgart.de>:

> Sven Hartenstein <ma...@svenhartenstein.de> writes:

>> > I see other settings in preferences for memory usage (%m) etc.
>> > but nothing for image size. It's not there is it ?
>>
>> It is: use %w and %h
>
> All avaialble tokens are documented in the gimprc manpage, which can
> be found here: http://www.gimp.org/unix/man-gimprc-2.0.html
>
> %% literal percent sign

[cut]

> HTH,
> Michael

Yes very much, thanks to both of you!

--
D. Johnson

0 new messages