Magic! Adding the fuzz & repage to the trim command did the trick.
The morphology works for setting the background to white but seems to smooth graduation of the shadow somewhat. It looks pretty similar to the processed images so I image this is similar to what was done originally. Would using a ...
Search found 2 matches
- 2015-07-10T04:29:35-07:00
- Forum: Users
- Topic: Trim non-uniform backgrounds
- Replies: 4
- Views: 4253
- 2015-07-10T01:43:35-07:00
- Forum: Users
- Topic: Trim non-uniform backgrounds
- Replies: 4
- Views: 4253
Trim non-uniform backgrounds
I have a number of product images that I need to process to convert from landscape/portrait into square images. The approach I have taken is to:
1. Trim
2. Add border
3. Pad to square
This is being done via im4java on OSX with ImageMagick 6.9.1-1.
I have some working commands for this process but ...
1. Trim
2. Add border
3. Pad to square
This is being done via im4java on OSX with ImageMagick 6.9.1-1.
I have some working commands for this process but ...