Fixing 24-bit images