pdb, libgimp: rename gimp_drawable_invert() to _invert_non_linear()

and add gimp_drawable_invert_linear(). Also, finally deprecate
gimp_invert() and port all its uses in plug-ins and scripts to
gimp_drawable_invert_non_linear() so the result is the same.
This commit is contained in:
Michael Natterer
2017-08-30 12:27:17 +02:00
parent 188a82552b
commit 2e6c39ed9c
15 changed files with 167 additions and 50 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-invert layer) \
; gimp -i -b '(with-files "*.png" (gimp-drawable-invert-non-linear layer) \
; (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-invert layer) \
; gimp -i -b '(with-files "*.png" (gimp-drawable-invert-non-linear layer) \
; (gimp-file-save 1 image layer \
; (string-append basename ".jpg") \
; (string-append basename ".jpg") ))'