Search found 5 matches
- 2017-01-27T02:24:34-07:00
- Forum: Users
- Topic: [Solved] Autocrop photographed Postcards (black border)
- Replies: 6
- Views: 6033
Re: Autocrop photographed Postcards (black border)
Turns out Photoshop does this exceptionally well, no problems whatsoever. Might not be free like IM but for us this is the way to go. Thanks for your help, I learned a lot about ImageMagick in the last weeks!
- 2017-01-12T06:44:16-07:00
- Forum: Users
- Topic: [Solved] Autocrop photographed Postcards (black border)
- Replies: 6
- Views: 6033
Re: Autocrop photographed Postcards (black border)
How would you automate this for a whole folder of images? I was able to identify the image’s bounding box with this command: convert in.png -threshold 10% -define connected-components:area-threshold=5510 -define connected-components:verbose=true -connected-components 4 -gamma 1.5 -auto-level -depth 8 ...
- 2017-01-10T08:01:08-07:00
- Forum: Users
- Topic: [Solved] Autocrop photographed Postcards (black border)
- Replies: 6
- Views: 6033
Re: Autocrop photographed Postcards (black border)
I got some mixed results (depending on the image and the according fuzz value) when I convertet the image from RAW to png deskewed the png shaved the border by 50px floodfilled the output black trimmed the image for example: convert IMG_8175.CR2 image.png && convert image.png -deskew 40% +repage ...
- 2017-01-10T03:12:54-07:00
- Forum: Users
- Topic: [Solved] Autocrop photographed Postcards (black border)
- Replies: 6
- Views: 6033
Re: Autocrop photographed Postcards (black border)
Hi Fred, thank you so much for your answer! Unfortunately the code you posted doesn’t work at all for me, neither the compression (tiffs are still way to large, sometimes they don’t even show a picture anymore?) nor the deskew/crop part. No error message at all. So I’m kind of stuck with this… Also I ...
- 2016-12-21T02:29:42-07:00
- Forum: Users
- Topic: [Solved] Autocrop photographed Postcards (black border)
- Replies: 6
- Views: 6033
[Solved] Autocrop photographed Postcards (black border)
Hi! I’ve got a bunch (>1000) Canon RAW Files (*.CR2) of photograped postcards. The Postcards are all photograped in the same fashion and not 100% straight and have a bigger or smaller black border around them. Here is an sample file: https://cloudup.com/cuU67sTBe5P My workflow now looks like this: ...