We must not draw anti-aliased lines on palette images, because that is not supported by `gdImageSetAAPixelColor()` and it wouldn't make much sense to support it, due to the limitation to at most 256 colors.