On 06/11/15 20:58, akovia wrote:
Would it be possible to script this in any way? Seems like it should be
a feature already as I keep looking for it but no matter how many times
I check, it never appears. :P


Stroke the path with a 1px brush and autocrop the image

Without stroking it could be slow because you have to follow the path pixel by pixel and keep min/max coordinates. To do it a lot faster you can instead keep the min/max coordinates of anchors and handles but if this guarantees that you get a rectangle that contains the path, in the general case it won't be the tightest fit.
gimp-user-list mailing list
List address:    gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list

Reply via email to