2
\$\begingroup\$

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

\$\endgroup\$
1

3 Answers 3

2
\$\begingroup\$

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

\$\endgroup\$
2
\$\begingroup\$

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.

\$\endgroup\$
3
  • \$\begingroup\$ 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... \$\endgroup\$
    – Virgil
    Apr 14, 2017 at 11:58
  • \$\begingroup\$ Click on the highlighted words "Batch" and "What is the best..." for hints on how to batch job the crop. \$\endgroup\$
    – BobT
    Apr 15, 2017 at 2:50
  • \$\begingroup\$ 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 \$\endgroup\$
    – Virgil
    Apr 18, 2017 at 13:06
1
\$\begingroup\$

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.

\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged or ask your own question.