![]() |
Automate croping without reducing original image size - Printable Version +- Gimp-Forum.net (https://www.gimp-forum.net) +-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP) +--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions) +--- Thread: Automate croping without reducing original image size (/Thread-Automate-croping-without-reducing-original-image-size) |
Automate croping without reducing original image size - mrcoffee2000 - 03-13-2025 Hello, I don't do much image editing in anything resembling robust software. Apologies in advance if I use terms that are incorrect (please feel free to correct me). What I'm trying to accomplish - I routinely digitize archived paper documents that are oftentimes spiral bound or comb bound. I usually unbind these to get good scans. The problem is, the scans always show the edges of the paper and the holes left from binding. I would like to automate 'whiting out' the margins to erase these marks on the scans so I can get a cleaner scan for archiving. I want to retain the original image size so the contents of the document look like the original, including keeping original margins and whatnot. I am using GIMP 2.10. I found the BIMP plugin and started messing with the features in that. It seems like automated a crop is pretty straight-foward with that plugin, but I don't see a way to retain the original image size. GIMP has options to retain the original image size when cropping an image. Crop may not be the right function to accomplish what I want, so any advice is appreciated. RE: Automate croping without reducing original image size - rich2005 - 03-13-2025 (03-13-2025, 01:01 PM)mrcoffee2000 Wrote: Hello, Using BIMP. If the pages are generally the same size, then consider using a mask and applying it using the BIMP "Water Mark" function. The screen shot(s) showing one edge but the mask (1) could be the whole page size. export as a png to keep any transparency ( say you white-out all edges). Then it is The Water Mark function (2) Use the Image watermark option (3) Plant it over the page in the appropriate position (4) [attachment=13200] RE: Automate croping without reducing original image size - mrcoffee2000 - 03-26-2025 Hello, Thank you so much for your reply! The notification email went to junk and I just saw your post. I will give this a try when I get home and report back. Good news is that all the scans are the same exact pixel dimensions because I specify that when I scan these things. So, this solution seems promising! Thanks!! |