kamilburda / batcher

Batch Layer Processing and Export for GIMP 3.0.0-RC1 and Later
https://kamilburda.github.io/batcher/
BSD 3-Clause "New" or "Revised" License
17 stars 0 forks source link

Suggestion Layer Scale #16

Open R0CH1TV opened 3 days ago

R0CH1TV commented 3 days ago

Hello, maybe you can add option to resize scale based on canvas size...

Example

My canvas size is 40x20 image

My layers have different size Original size Layer1: 548x141 image Layer2: 236x182 image

Resized Layer1: 40x10 (fit on canvas size) image

Layer2: 40x31 (exceed canvas size on height 31px) so you need resize by Height image

Resize by height then (keeping scale ratio) image

So basically you always try to resize by the largest value, but if the height or width still exceeds the canvas size, you resize whatever is exceeding it, but always maintaining the proportion.

kamilburda commented 3 days ago

As I understand it, you're requesting "scale to fit" while also preserving the aspect ratio. I'll add this option in the next version. 🙂

R0CH1TV commented 2 days ago

As I understand it, you're requesting "scale to fit" while also preserving the aspect ratio. I'll add this option in the next version. 🙂

Yes, basically... but you always try to resize it by the largest value first, but if it is still larger than the canvas sizes, you try the other value.

Canvas Size: 40x20

Example:

Width: 500 Height: 350

but if you put width at : 40 and the height is 25 you need to resize the height to 20 and the width will be 35

that was just an example, sorry for the somewhat confusing explanation.

R0CH1TV commented 1 day ago

As I understand it, you're requesting "scale to fit" while also preserving the aspect ratio. I'll add this option in the next version. 🙂

Sorry for too many questions, and this annoying question, you have any ETA for new version?

kamilburda commented 18 hours ago

Sorry for too many questions, and this annoying question

No worries 🙂

you have any ETA for new version?

I am in the middle of adding a major new feature to the plug-in, and that will take quite a while - possibly 1-2 months.

However, scaling to fit and keeping aspect ratio are actually quite useful features, and can be done fairly quickly, and I suppose I could drop a minor release before 1.0. I can't promise any exact ETA due to other commitments, though (such as my job 😅), but I'd wager it'd be some time before the holidays.

R0CH1TV commented 18 hours ago

Sorry for too many questions, and this annoying question

No worries 🙂

you have any ETA for new version?

I am in the middle of adding a major new feature to the plug-in, and that will take quite a while - possibly 1-2 months.

However, scaling to fit and keeping aspect ratio are actually quite useful features, and can be done fairly quickly, and I suppose I could drop a minor release before 1.0. I can't promise any exact ETA due to other commitments, though (such as my job 😅), but I'd wager it'd be some time before the holidays.

I understand you ! would be very nice if you able to drop this feature when you have time this will help me a lot xD but thank you !