Re: [Gimp-user] gimp-image-set-unit ineffective on 2.67 for windows

2009-11-03 Thread Alan Campbell
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 +, 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.


= +  =

___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


[Gimp-user] gimp-image-set-unit ineffective on 2.67 for windows

2009-11-01 Thread Alan Campbell
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 -- 
Rusty And Illegal In 37 States


= +  =



___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] gimp-image-set-unit ineffective on 2.67 for windows

2009-11-01 Thread Sven Neumann
On Sun, 2009-11-01 at 18:38 +, 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


___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user