palettejoin joins the palettes of multiple 8-bit PNG images, generating one single palette and adapting the images to the new palette. It can also accept a GPL palette as input, generate palettes in GPL format, make all files use the same transparent color, eliminate unused colors, join similar colors if there aren't enough available colors, and backup changed files.