ShopDreamUp AI ArtDreamUp
Deviation Actions

Fan
1 Subscriber
This subscription provides access to premium edits and stories. This tier 'Fan' will see some of the premium deviations, but not as much as the 'Giantess Fan' or 'Giantess Super Fan' tiers. I will only be offering this tier for a limited time.
$5/month
Suggested Deviants
Suggested Collections
You Might Like…
Featured in Groups
Description
-----------------------------------------
This is a script-fu script for GIMP.
A script is usually a way to automate repetitive or complex tasks in order to speed up the work with a software.
I decided to share my scripts because I hope they can be of some help for other GIMP users like me here on dA.
-----------------------------------------
This script needs Cut layers out of boundaries to be fully functional.
When saved as a script "Resize image to layers" adds a menu entry under:
Filters -> Image -> Resize image to layers
Once selected it shows a dialog box asking the size in pixel of the border and if you want to clean it.
Description
Working on an image bigger than what you need could be helpful.
"Resize image to layers" helps to resize the canvas without checking the layers' position by hand.
It verifies if the layers are inside the boundaries. If that is the case, the canvas is resized to fit around the outmost layers.
If there is a layer out of a boundary, that side of the canvas is not modified: if something is out of sight, it remains out of sight.
If you don't want to have the canvas wrapping exactly around the layers, you can set a border and the specified number of pixels is added to every side of the canvas.
However that action can show something that were previously out of sight. For that reason the option "Clean the border" removes any part that is inside of the border or outside of the canvas from all layers.
Please remember that "Clean the border" is a destructive action.
If you have no need to do otherwise, my advice is to use the script after performing "Autocrop" to the layers so the image size will be the smallest possible and there will be no interference by transparent parts.
-----------------------------------------
In order to use the script do the following:
Edit -> Preferences -> Folders -> Scripts
Cut layers out of boundaries by =TheUncle2k
-----------------------------------------
© 2010 - 2024 TheUncle2k
Comments4
Join the community to add your comment. Already a deviant? Log In
Is this made to do anything other than what Resize Canvas to Layers already does?





















![Mill for Rainmeter [Port]](https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/i/36e80b09-87fe-4364-8ae9-3e914cd6206f/d6hzbo2-edb818e1-dc5e-428a-a6fb-fda3a6b19ea1.png/v1/crop/w_184)











