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:
@ -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") ))'
|
||||
|
Reference in New Issue
Block a user