Re: Saving a layer

2000-01-24 Thread Sven Neumann

 As part of my sawmill theme tool gimpmill, I need to save individual layers
 to disk. The way I currently do it involves creating an image of the same
 dimensions, doing a gimp_edit_copy and then a gimp_edit_paste. This is fine
 provided the layer's content spans the full width and height of the layer -
 if it does not, then the content will be centered on the new image and will
 be out of line. Whats the right way of saving a layer to disk?

Most save plug-ins only support single-layer images. If you call them 
non-interactively on a multi-layer image they will only save the drawable
you passed it. Where's your problem?


Salut, Sven





Re: Saving a layer

2000-01-24 Thread Ian McKellar

On Mon, Jan 24, 2000 at 08:55:17PM +0100, Sven Neumann wrote:
  As part of my sawmill theme tool gimpmill, I need to save individual layers
  to disk. The way I currently do it involves creating an image of the same
  dimensions, doing a gimp_edit_copy and then a gimp_edit_paste. This is fine
  provided the layer's content spans the full width and height of the layer -
  if it does not, then the content will be centered on the new image and will
  be out of line. Whats the right way of saving a layer to disk?
 
 Most save plug-ins only support single-layer images. If you call them 
non-interactively on a multi-layer image they will only save the drawable
 you passed it. Where's your problem?

Gone now actually :)
That completely solved my problem.

Thank you very much.

Ian

-- 
Ian  McKellar | Email: yakk(a)yakk.net | Web: http://www.yakk.net/
Fax: +61 (8) 9265 0821 / +0 (775) 205 0307 | Home: +61 (8) 9389 9152
If God didn't want us to eat animals, he wouldn't have made them out of meat.