Gimp-Forum.net
crop and straighten photos in gimp ? - 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: crop and straighten photos in gimp ? (/Thread-crop-and-straighten-photos-in-gimp)



crop and straighten photos in gimp ? - denzjos - 05-08-2025

Is there a script or plugin for gimp that does the same thing as PS 'crop and straighten photos' to separate multiple photos from one scan?


RE: crop and straighten photos in gimp ? - rich2005 - 05-08-2025

Is this still for Gimp 2.10 ? Have you tried the old(ancient) DivideScannedImages script + deskew

https://github.com/FrancoisMalan/DivideScannedImages

I have just tried in Win10 Gimp 2.10.38 and still works more-or-less. Deskew not so good with the script but does work on its own


RE: crop and straighten photos in gimp ? - denzjos - 05-09-2025

Rich, thanks for the link. I'll give it a try. I'm currently using Gimp 2.10. 38 (lots of tools - scripts and plugins) and I'm using Gimp 3.02-1 to explore its capabilities. This version is still a bit limited compared to the luxury that 2.10. 38 offers (which has been built up over the years).


RE: crop and straighten photos in gimp ? - rich2005 - 05-09-2025

This a 50 second demo.  https://i.imgur.com/AGOjpSz.mp4  It is just a single scan as an example, there is a batch option.
If it is what you are looking for:
Any problems, deskew.exe for example is 32 bit but works in Windows, then I have other versions in my archive.

edit: Just had a re-look at the link and deskew download not working, it is 2013 so not surprising.
Attached both scm and deskew.exe - Unzip, All in your user profile .scm goes in scripts and .exe goes plug-ins.


RE: crop and straighten photos in gimp ? - denzjos - 05-09-2025

The plugin works (thanks for the video).


RE: crop and straighten photos in gimp ? - rich2005 - 05-09-2025

(05-09-2025, 10:40 AM)denzjos Wrote: Got this error when I tried to download the plugin (on the link you posted):
 
Access to francoismalan.com is denied
You do not have permission to view this page.
HTTP ERROR 403

I googled the plugin and found a link on GC (deskew-1.1_Win_32bit). The plugin works (thanks for the video), but I don't see the 'jpg quality'. Can you post the version you have (if it's a later version)?

see previous post - jpeg quality - near bottom of script. The default is 0.8 You can edit the script make it greater - lines 271 and 371 (batch menu)


RE: crop and straighten photos in gimp ? - denzjos - 05-09-2025

(05-09-2025, 10:43 AM)rich2005 Wrote:
(05-09-2025, 10:40 AM)denzjos Wrote: Got this error when I tried to download the plugin (on the link you posted):
 
Access to francoismalan.com is denied
You do not have permission to view this page.
HTTP ERROR 403

I googled the plugin and found a link on GC (deskew-1.1_Win_32bit). The plugin works (thanks for the video), but I don't see the 'jpg quality'. Can you post the version you have (if it's a later version)?

see previous post

Blush