renamed gimp_convert_*() functions to gimp_image_convert_*().
2003-12-04 Michael Natterer <mitch@gimp.org> * tools/pdbgen/pdb/convert.pdb: renamed gimp_convert_*() functions to gimp_image_convert_*(). * libgimp/gimpimage.[ch]: removed gimp_image_convert_* #defines. * libgimp/gimpcompat.h: added old stuff. * app/pdb/convert_cmds.c * libgimp/gimpconvert_pdb.[ch]: regenerated. * plug-ins/common/gifload.c * plug-ins/common/gih.c * plug-ins/common/sample_colorize.c * plug-ins/common/winclipboard.c * plug-ins/script-fu/scripts/burn-in-anim.scm * plug-ins/script-fu/scripts/chrome-it.scm * plug-ins/script-fu/scripts/crystal-logo.scm * plug-ins/script-fu/scripts/fuzzyborder.scm * plug-ins/script-fu/scripts/gimp-headers.scm * plug-ins/script-fu/scripts/gimp-labels.scm * plug-ins/script-fu/scripts/sota-chrome-logo.scm * plug-ins/script-fu/scripts/spinning-globe.scm: changed accordingly.
This commit is contained in:
committed by
Michael Natterer
parent
6af5072c6b
commit
a7b5c6a462
@ -40,7 +40,7 @@
|
||||
(set! img (car (gimp-image-duplicate org-img)))
|
||||
(gimp-image-undo-disable img)
|
||||
(if (> (car (gimp-drawable-type org-layer)) 1 )
|
||||
(gimp-convert-rgb img))
|
||||
(gimp-image-convert-rgb img))
|
||||
(set! source-layer (aref (cadr (gimp-image-get-layers img)) 0 ))
|
||||
(set! bg-source-layer (aref (cadr (gimp-image-get-layers img)) 1 ))
|
||||
(set! source-layer-width (car (gimp-drawable-width source-layer)))
|
||||
@ -160,7 +160,7 @@
|
||||
|
||||
(if (= optimize TRUE)
|
||||
(begin
|
||||
(gimp-convert-indexed img 1 WEB-PALETTE 250 FALSE TRUE "")
|
||||
(gimp-image-convert-indexed img 1 WEB-PALETTE 250 FALSE TRUE "")
|
||||
(set! img-out (car (plug-in-animationoptimize 0
|
||||
img
|
||||
bl-layer)))))
|
||||
|
||||
@ -155,7 +155,7 @@
|
||||
(gimp-bucket-fill bg-layer PATTERN-BUCKET-FILL NORMAL-MODE 100 0 FALSE 0 0)
|
||||
(gimp-selection-none img)
|
||||
|
||||
(gimp-convert-rgb img)
|
||||
(gimp-image-convert-rgb img)
|
||||
|
||||
(gimp-color-balance layer1 0 TRUE (shadows (rval hc)) (shadows (gval hc)) (shadows (bval hc)))
|
||||
(gimp-color-balance layer1 1 TRUE (midtones (rval hc)) (midtones (gval hc)) (midtones (bval hc)))
|
||||
|
||||
@ -143,7 +143,7 @@
|
||||
(gimp-levels disp-map 0 0 255 1.0 96 255)
|
||||
|
||||
(if (= (car (gimp-drawable-is-rgb bg-layer)) 1)
|
||||
(gimp-convert-rgb img))
|
||||
(gimp-image-convert-rgb img))
|
||||
|
||||
|
||||
|
||||
|
||||
@ -43,7 +43,7 @@
|
||||
(if (> (car (gimp-drawable-type inLayer))
|
||||
1
|
||||
)
|
||||
(gimp-convert-rgb theImage)
|
||||
(gimp-image-convert-rgb theImage)
|
||||
)
|
||||
(set! theWidth (car (gimp-image-width inImage)))
|
||||
(set! theHeight (car (gimp-image-height inImage)))
|
||||
|
||||
@ -104,7 +104,8 @@
|
||||
(plug-in-autocrop 1 img text-layer))
|
||||
|
||||
(if (= index TRUE)
|
||||
(gimp-convert-indexed img FS-DITHER MAKE-PALETTE num-colors FALSE FALSE ""))
|
||||
(gimp-image-convert-indexed img FS-DITHER MAKE-PALETTE num-colors
|
||||
FALSE FALSE ""))
|
||||
|
||||
|
||||
(gimp-palette-set-foreground old-fg)
|
||||
|
||||
@ -76,7 +76,8 @@
|
||||
(gimp-selection-clear img)))
|
||||
|
||||
(if (= index TRUE)
|
||||
(gimp-convert-indexed img FS-DITHER MAKE-PALETTE num-colors FALSE FALSE ""))
|
||||
(gimp-image-convert-indexed img FS-DITHER MAKE-PALETTE num-colors
|
||||
FALSE FALSE ""))
|
||||
|
||||
(gimp-palette-set-foreground old-fg)
|
||||
(gimp-palette-set-background old-bg)
|
||||
|
||||
@ -152,7 +152,7 @@
|
||||
(gimp-bucket-fill text-layer PATTERN-BUCKET-FILL NORMAL-MODE 100 0 FALSE 0 0)
|
||||
(gimp-selection-none img)
|
||||
|
||||
(gimp-convert-rgb img)
|
||||
(gimp-image-convert-rgb img)
|
||||
|
||||
(gimp-color-balance layer1 0 TRUE (shadows (rval hc)) (shadows (gval hc)) (shadows (bval hc)))
|
||||
(gimp-color-balance layer1 1 TRUE (midtones (rval hc)) (midtones (gval hc)) (midtones (bval hc)))
|
||||
|
||||
@ -87,7 +87,8 @@
|
||||
|
||||
(if (= inIndex 0)
|
||||
()
|
||||
(gimp-convert-indexed theImage FS-DITHER MAKE-PALETTE inIndex FALSE FALSE ""))
|
||||
(gimp-image-convert-indexed theImage FS-DITHER MAKE-PALETTE inIndex
|
||||
FALSE FALSE ""))
|
||||
|
||||
(if (= inCopy TRUE)
|
||||
(begin
|
||||
|
||||
Reference in New Issue
Block a user