2

I'm searching for a way to remove the white border of images. I have 6000-7000 images, so I can't do this by hand... Every image has a different size and a different white border. Is there any plugin that does this?

For example:

enter image description here

has to be:

enter image description here

Virgil
  • 21
  • 1
  • 2

3 Answers3

2

Adobe Photoshop has the "Trim" feature. You can automate the process by recording an action, then running it for all the images.

K. Minkov
  • 2,055
  • 1
  • 12
  • 21
2

If you don't have Photoshop, you can do something similar in Gimp. Use the Autocrop Image command in Batch mode. Try it on a 'sacrificial' folder first to make sure it works the way you expect.

@Francois at What is the best way to auto crop bulk images? links to here which has more info about using Gimp for this purpose.

BobT
  • 6,734
  • 1
  • 23
  • 37
  • I tried to autocrop with Gimp and it did work! But I don't understand how to batch this, I don't know anything about programming or anything... – Virgil Apr 14 '17 at 11:58
  • Click on the highlighted words "Batch" and "What is the best..." for hints on how to batch job the crop. – BobT Apr 15 '17 at 02:50
  • So I have to write a script in "Script-Fu - Console"? I can't find out what to write? Can you help me? My images are in the folder C:\Users\virgil2\Desktop\Cataloog copy – Virgil Apr 18 '17 at 13:06
1

I can't offer a plugin (for what?), but the command line image processor ImageMagick offers a trim command which is designed to do exactly that.

ths
  • 7,161
  • 1
  • 11
  • 25