RSS/Atom feed Twitter
Site is read-only, email is disabled

gimp-image-set-unit ineffective on 2.67 for windows

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

3 of 3 messages available
Toggle history

Please log in to manage your subscriptions.

gimp-image-set-unit ineffective on 2.67 for windows Alan Campbell 01 Nov 19:38
  gimp-image-set-unit ineffective on 2.67 for windows Sven Neumann 01 Nov 19:42
gimp-image-set-unit ineffective on 2.67 for windows Alan Campbell 04 Nov 04:44
Alan Campbell
2009-11-01 19:38:46 UTC (about 15 years ago)

gimp-image-set-unit ineffective on 2.67 for windows

Hi,

I'm trying to get a script to generate an image with default units (as displayed in status bar at bottom of image window) to be mm instead of pixels. My script does

(gimp-image-set-unit 2)

and I've even set default image grid (in preferences) in mm. No joy.

Can it be done?

Short exchange at

http://www.gimptalk.com/forum/gimp-image-set-unit--t45138.html

suggests not.

Thanks for any help. Yrs,

Alan

Mind Like A Steel Trap

Sven Neumann
2009-11-01 19:42:37 UTC (about 15 years ago)

gimp-image-set-unit ineffective on 2.67 for windows

On Sun, 2009-11-01 at 18:38 +0000, Alan Campbell wrote:

Hi,

I'm trying to get a script to generate an image with default units (as displayed in status bar at bottom of image window) to be mm instead of pixels. My script does

The units displayed in the status bar are the image's display units. The display unit is different from the image unit and it can only be changed by the user, not by a script.

Sven

Alan Campbell
2009-11-04 04:44:52 UTC (about 15 years ago)

gimp-image-set-unit ineffective on 2.67 for windows

Hi Sven,

But I've set GIMP preferences Default Image and Image Size in mm, and Default Grid in mm.

If I do File | New, image is displayed with mm units n status bar.

Why doesn't that happen for an image created from a template created from my script?

Is there some other preference I should change?

On Sun, 2009-11-01 at 18:38 +0000, Alan Campbell wrote:

I'm trying to get a script to generate an image with default

units

(as displayed in status bar at bottom of image window) to be mm instead of pixels. My script does

The units displayed in the status bar are the image's display

units. The

display unit is different from the image unit and it can only be

changed

by the user, not by a script.

Sven

Yours,

Alan Campbell
BRIGHTON, UK

Every program has at least one bug and can be shortened by at least one instruction -- from which, by induction, one can deduce that every program can be reduced to one instruction which doesn't work.

===================== +++++ =====================