On Friday 29 August 2003 14:00, you wrote:
> Hi,
Hi, and sorry for the delay in the answer
> imr <[EMAIL PROTECTED]> writes:
> > First, how can i close the image window i was working on during the
> > script, once i have saved it.  i found image_delete and
> > display_delete fonctions, but the image_delete wont work as long as
> > there is a display opened, so how do I get the display?
> Your script can only delete a display it created itself. When it
> creates a display using gimp-display-new it is returned a display
> ID. This ID can be used later to remove the display again using
> gimp-display-delete.
well, i'm glad i didnt answer you too early, because i would have made us lose 
some more time.
Reading my script and trying to figure out what I did wrong or what i didnt 
understand, i must have skipped like one 100 times the nice simple line with 
the open_display i just saw right now after a nice w-e.
So, yes, it works like it should, and yes, i kick me butt.

> > Second and last, I have tried to save a picture as jpg with
> > gimp_file_save non interractively. The image was saved with 0
> > quality, is there a way to set the jpg settings without using
> > file_jpeg_save and without interractivity?
> It should have been saved with the default JPEG settings. IIRC, the
> default quality used to be 0.75 and was lately changed to 0.85. Are
> you sure that 0 was used? Which version of GIMP did you use?
1.2.3 from mandrake
Since what happens in the above, i'm going to check in what order and how i do 
The script load an image, load an other one, copy it, create a layer in the 
first image, paste into the layer, translate the layer, anchor it, display 
the image, flatten it, save the resulting drawable with gimp_file_save and 
delete whats left. It works nicely with png.
> Sven
thx a lot, 

Gimp-user mailing list

Reply via email to