-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion Layer Scale #16
Comments
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 but if you put width at : 40 and the height is 25 that was just an example, sorry for the somewhat confusing explanation. |
Sorry for too many questions, and this annoying question, you have any ETA for new version? |
No worries 🙂
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 ! |
I just released a new version containing the new scaling features. To fit each layer to the image canvas:
Of course, if you need to specify other dimensions representing the canvas, such as 40 x 20, that can be done as well. Simply change the units to pixels and set the New width and height to 40 and 20, respectively. However, there may be one problem with this approach - after the scaling, some parts of the layer may be displayed outside the image canvas. If you only want to export the layers using their dimensions (and not the image dimensions), simply check |
Really good job working amazing... |
I have a Python script available for aligning layers: https://github.com/kamilburda/gimp-align-layers I just updated it to work with GIMP 3. You can install it as any other GIMP plug-in/script. First restart GIMP so that the plug-in is registered, then in Batcher, find and add the You can ignore the reference layer (unless you inserted e.g. a background layer and would want to align the current layer against the background). |
Sure i added and selected but i getting error My settings Folder scripts |
That's the
|
Check if you have the |
worked thank u !! |
Great, I'm considering this resolved then. 🙂 |
Hello, maybe you can add option to resize scale based on canvas size...
Example
My canvas size is 40x20
My layers have different size
Original size
Layer1: 548x141
Layer2: 236x182
Resized
Layer1: 40x10 (fit on canvas size)
Layer2: 40x31 (exceed canvas size on height 31px) so you need resize by Height
Resize by height then (keeping scale ratio)
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.
The text was updated successfully, but these errors were encountered: