pdb, libgimp: change the gimp-drawable-invert API again

Remove the invert-linear and invert-non-linear variants and simply add
"gboolean linear" to gimp-drawable-invert. This should actually be an
enum but I didn't find a good name right now...
This commit is contained in:
Michael Natterer
2017-09-03 21:28:47 +02:00
parent 3007193704
commit e6c1c14a94
15 changed files with 59 additions and 165 deletions

View File

@ -60,12 +60,12 @@
; For example, to invert the colors of all of the PNG files in the
; start directory:
;
; gimp -i -b '(with-files "*.png" (gimp-drawable-invert-non-linear layer) \
; gimp -i -b '(with-files "*.png" (gimp-drawable-invert layer FALSE) \
; (gimp-file-save 1 image layer filename filename ))'
;
; To do the same thing, but saving them as jpeg instead:
;
; gimp -i -b '(with-files "*.png" (gimp-drawable-invert-non-linear layer) \
; gimp -i -b '(with-files "*.png" (gimp-drawable-invert layer FALSE) \
; (gimp-file-save 1 image layer \
; (string-append basename ".jpg") \
; (string-append basename ".jpg") ))'