Or remove support for anything but RGBA images. Only external images could be RGB but only vanilla images should be external, so there shouldn't be any overlap (though there probably are some weird maps out there). We always convert to RGBA when loading images and in most cases we later discard the already loaded image data if it's not RGBA.