Hi, Jeff Trefftzs <trefftzs@xxxxxxxx> writes: > > oh, come on. calling perl to resize the layer to the image size is a > > bit of an overkill if it can also be done in one or two lines of > > scheme. The following code is untested, but might actually work: ... > > It may be overkill, but it's available from the layers & channels > dialog box in the right-click menu, so I assumed that's how it was > supposed to be done. that menu entry points to layer_resize_to_image() in app/layers.c. Salut, Sven