Author Topic: GIMP - script-fu for pixel art - change RGB  (Read 451 times)

froggy77

  • Full Member
  • ***
  • Posts: 105
    • View Profile
GIMP - script-fu for pixel art - change RGB
« on: February 24, 2018, 11:09:28 pm »
Hello,

I created another script to be used with GIMP that it is supposed to be useful for pixel artists.
The aim is to change RGB colors of an image or a selection. I got the idea of ‚Äč‚Äčthis script thanks to this topic "Convert US colour to PAL"

This is a beta version, I hope there will be not too many bugs. Please save your work before. ::)
Don't hesitate to report bugs.

See attachment file

What is this kind of script?
It is explained here: https://docs.gimp.org/en/gimp-concepts-script-fu.html
 (There is often a translation of docs.gimp.org pages, just replace "en" by "fr" to get for example the french page: https://docs.gimp.org/fr/gimp-concepts-script-fu.html , it italian, es spanish, de ...)

Where to copy it?
It is explained here:  https://docs.gimp.org/en/install-script-fu.html

Some explanations

- It appears in the menu /Filters/pixelart-change-rgb of GIMP
- It opens a pop-up window where you can change Red, Green and Blue values.
By default, I add 32 to all colors, but you can change these values editing the script.
SF-ADJUSTMENT    "Red"       '(32 -255 255 1 10 0 SF-SLIDER)
SF-ADJUSTMENT    "Green"   '(32 -255 255 1 10 0 SF-SLIDER)
SF-ADJUSTMENT    "Blue"      '(32 -255 255 1 10 0 SF-SLIDER)
- It allows to add or subtract a value to Red Green Blue (RGB) of the selection or the image and draw the result into another image.
- Maximum of 256 colors in your image or in your selection.
- If there is a selection, only the selected layer and its selection are taken into account.
- If there is no selection, all layers are taken into account.
« Last Edit: February 25, 2018, 02:45:56 pm by froggy77 »