Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Batch converting images as brushes
#6
That was a struggle. The first part was easy. Remove the transparency in batch. ImageMagick does it in place.

Code:
Mogrify -flatten *.png

I know that XnView/XnConvert has the option to write to Gimp .gbr format, what could be easier. Tried all ways and Gimp rejects the grayscale .gbr files as wrong format.

Never-Give-Up.
There is an old script batch_brushes.scm that does what it says. Unfortunately not with Gimp 2.10, the gbr writing has gone from a separate plugin to an internal procedure. Tried rewriting the script but that needs one of the clever guys.

What does work is Gimp 2.8 (or using Gimp 2.10 after adding the 2.8 file-gbr plugin) Converted those 137 files to grayscale brushes. The only thing not set is the spacing, which is one. Tried out in Gimp 2.10.12 all working and take FG colour.

Zipped 137 .gbr brushes + script 5MB https://my.pcloud.com/publink/show?code=...InULjfKnzX
Reply


Messages In This Thread
RE: Batch converting images as brushes - by rich2005 - 10-04-2019, 08:05 AM

Forum Jump: