LuNaTiC Posted September 30, 2019 Share Posted September 30, 2019 Ok I know this maybe very silly question and already supported by the app itself but currently I cannot figure out how to crop outer transparent space of an image automatically which scales up the original image without losing the quality. I know I can achieve this by messing around with tools but I'm looking for a way to automatically do this. If I remember correctly the feautre I'm looking for was avaiable in Gimp. Here's the detailed explanation of what I want to be done automatically by paint.net: Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted September 30, 2019 Share Posted September 30, 2019 53 minutes ago, LuNaTiC said: I cannot figure out how to crop outer transparent space of an image automatically which scales up the original image without losing the quality. The feature of cropping the image to remove the transparent edges is called Image Trimming. There's no way to do it automatically in Paint.NET. I don't know about the scaling aspect you've mentioned; your example image doesn't even demonstrate that. 1 Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
LuNaTiC Posted September 30, 2019 Author Share Posted September 30, 2019 (edited) 59 minutes ago, toe_head2001 said: The feature of cropping the image to remove the transparent edges is called Image Trimming. There's no way to do it automatically in Paint.NET. I don't know about the scaling aspect you've mentioned; your example image doesn't even demonstrate that. I guess that's because the image host site does not cover transparency but instead it shows transparency as white background, as this page's background is white too it might have beeen hard to understand. Anyway what I want from paint.net is cropping the image and resize it to either maximum X or Y axis of the original element, for example let's suppose that tube's original Y size is 200 , X size is 50 excluding the outer transparency space and the whole image is 400x400, in this case I want paint.net to automatically resize the image to 200x200 so the original tube elemt won't be cropped but only the outer transparency space would be cropped. Trimming feauture kind of does this but I have to select "magic wand" tool and make some arrangements then every time. So I'm looking for a way to do this process with few clicks, is there plugin you know for that? Edited September 30, 2019 by LuNaTiC Quote Link to comment Share on other sites More sharing options...
HyReZ Posted September 30, 2019 Share Posted September 30, 2019 (edited) Your current central image will not auto-fit into a 200 x 200 px frame without a downward re-scale. Example: Edited September 30, 2019 by HyReZ Quote Link to comment Share on other sites More sharing options...
LuNaTiC Posted September 30, 2019 Author Share Posted September 30, 2019 (edited) 200x200 was just a supposing, what I want in other words is to minimize the image by focusing the center, cropping outer transparent space automatically. Here is an example which can be done in gimp, transforms 800x800 image into 143x577 (577x577 for 1:1 aspect ratio). You may tell me to use gimp then but I usally use paint.net in my editings so it would be cool to have this feature in paint.net, too.https://thumbs.gfycat.com/FairFlawlessChupacabra-mobile.mp4 Edited October 1, 2019 by LuNaTiC Quote Link to comment Share on other sites More sharing options...
BoltBait Posted September 30, 2019 Share Posted September 30, 2019 The way to do this in Paint.NET is like this: Use the magic wand (tolerance 0) to select your transparent area. Press Ctrl+I to invert your selection. Click the Crop button. 3 1 Quote Download: BoltBait's Plugin Pack | CodeLab | and a Computer Dominos Game Link to comment Share on other sites More sharing options...
AndrewDavid Posted September 30, 2019 Share Posted September 30, 2019 Hi @LuNaTiC @BoltBait just beat me. His way will work. Another way of doing this; Use the rectangle select tool to size the area you want to keep. Hit Ctrl-C to copy the image. Select file new (It will be the same size you selected) then Ctrl-V to paste. I think this will better address your needs. Just another way of doing the same thing demonstrating the flexibility of Paint.Net. 2 Quote (My New Signature) Nickpic was a image hosting source made specifically for RPers and its shutting down. I use postimage.IO for free web hosting. How long before they follow photobucket and NicKPic? Link to comment Share on other sites More sharing options...
LuNaTiC Posted October 1, 2019 Author Share Posted October 1, 2019 (edited) I have added an mp4/gif file in my previous post that demonstrated what I wanted to do in paint.net but for some reason it is not viewable, edited that post. Anyway you guys already got what I wanted @BoltBait yes it does the job thanks. @AndrewDavid that method isn't useful for me since I would draw the rectangle by myself manually which could lead eliminating the pixels I wanted to keep, thank you anyways. Edited October 1, 2019 by LuNaTiC Quote Link to comment Share on other sites More sharing options...
docnich Posted June 28, 2020 Share Posted June 28, 2020 @BoltBait I perform the steps you mention above I click the transparent area with the magic wand then ctrl+I to invert then ctrl+shift+x to crop to selection Is there a plugin or a way to just "crop to opaque" I know I am being lazy, but I do this a lot after using gravity to delete unwanted areas of things, so my images are rectangular, and I just want to crop to the opaque area Thanks Quote Link to comment Share on other sites More sharing options...
BoltBait Posted June 28, 2020 Share Posted June 28, 2020 1 hour ago, docnich said: Is there a plugin or a way to just "crop to opaque" Sorry, but plugins can not change the size of the canvas. So, you've discovered the quickest way of doing it. Quote Download: BoltBait's Plugin Pack | CodeLab | and a Computer Dominos Game Link to comment Share on other sites More sharing options...
docnich Posted June 28, 2020 Share Posted June 28, 2020 Thanks I appreciate you taking the time to answer. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.