Re: [Gimp-user] Any way to resize all the layers in an xcf file to fit the canvas?

2018-03-13 Thread Ofnuts
On 03/13/18 12:46, Elle Stone wrote: Hmm, in GIMP-2.9, in Preferences, under "Dialog Defaults", there is an option to always resize all the layers to the canvas size. Well, that would solve the problem of resizing the layers to fit the canvas, at least if the canvas is larger than and includes

Re: [Gimp-user] Any way to resize all the layers in an xcf file to fit the canvas?

2018-03-13 Thread Elle Stone
Hmm, in GIMP-2.9, in Preferences, under "Dialog Defaults", there is an option to always resize all the layers to the canvas size. Well, that would solve the problem of resizing the layers to fit the canvas, at least if the canvas is larger than and includes all the content of all the layers. B

Re: [Gimp-user] Any way to resize all the layers in an xcf file to fit the canvas?

2018-03-12 Thread Ofnuts
On 03/12/18 15:39, Joao S. O. Bueno wrote: Hi -your scritp does not seem to account for layer groups (as in, layers inside groups won't be resized). If they are, it is because layer.resize_to_image_size() in a group also resizes its contents - and it works, but it means that invisible layers in

Re: [Gimp-user] Any way to resize all the layers in an xcf file to fit the canvas?

2018-03-12 Thread Kevin Cozens
On 2018-03-12 10:03 AM, Elle Stone wrote: See ofn-layers-to-image-size at https://sourceforge.net/projects/gimp-tools/files/scripts/ [snip] Thanks much! for the trick and the script. Hopefully I won't be resizing this particular image any further, but the next time I resize an image I'll figur

Re: [Gimp-user] Any way to resize all the layers in an xcf file to fit the canvas?

2018-03-12 Thread Carol Spears
On Mon, Mar 12, 2018 at 10:03 AM, Elle Stone wrote: > On 03/11/2018 12:06 PM, Carol Spears wrote: > >> It is much much easier to resize the canvas to fit all of the layers. >> >> All the layers are different sizes, so I don't think this would work, > would it? Unless you mean what Ofnuts describe

Re: [Gimp-user] Any way to resize all the layers in an xcf file to fit the canvas?

2018-03-12 Thread Joao S. O. Bueno
Hi -your scritp does not seem to account for layer groups (as in, layers inside groups won't be resized). If they are, it is because layer.resize_to_image_size() in a group also resizes its contents - and it works, but it means that invisible layers inside visible groups will be affected as well.

Re: [Gimp-user] Any way to resize all the layers in an xcf file to fit the canvas?

2018-03-12 Thread Elle Stone
On 03/11/2018 12:06 PM, Carol Spears wrote: It is much much easier to resize the canvas to fit all of the layers. All the layers are different sizes, so I don't think this would work, would it? Unless you mean what Ofnuts described, resizing by a pixel, and then resizing again to return to the

Re: [Gimp-user] Any way to resize all the layers in an xcf file to fit the canvas?

2018-03-11 Thread Ofnuts
On 03/11/18 21:57, Ofnuts wrote: On 03/11/18 15:21, Elle Stone wrote: Hi All, Of course all the layers can be resized one by one to fit the canvas. But I've been doing a *lot* of rearranging/moving of different groups of layers, and clicking on each layer one by one to resize it is rather ti

Re: [Gimp-user] Any way to resize all the layers in an xcf file to fit the canvas?

2018-03-11 Thread Ofnuts
On 03/11/18 15:21, Elle Stone wrote: Hi All, Of course all the layers can be resized one by one to fit the canvas. But I've been doing a *lot* of rearranging/moving of different groups of layers, and clicking on each layer one by one to resize it is rather time-consuming and involves a lot of

Re: [Gimp-user] Any way to resize all the layers in an xcf file to fit the canvas?

2018-03-11 Thread Carol Spears
On Sun, Mar 11, 2018 at 10:21 AM, Elle Stone wrote: > Hi All, > > Of course all the layers can be resized one by one to fit the canvas. But > I've been doing a *lot* of rearranging/moving of different groups of > layers, and clicking on each layer one by one to resize it is rather > time-consumin

[Gimp-user] Any way to resize all the layers in an xcf file to fit the canvas?

2018-03-11 Thread Elle Stone
Hi All, Of course all the layers can be resized one by one to fit the canvas. But I've been doing a *lot* of rearranging/moving of different groups of layers, and clicking on each layer one by one to resize it is rather time-consuming and involves a lot of clicking. Right now that's 17 layers