I started using chdk recently to take pictures with my Canon Powershot sx280hs. When I started saving high ISO pictures in the DNG format, a few pictures would come out with a purple/pink/blue tint to them. Nothing I've done has really changed the frequency.
A compressed jpg of what it would normally look like:
According to what I've found, it might be because the original canon firmware changes the way the colors are saved in the DNG, which causes the image to take on a tint. It didn't say anything about how to fix it, though.
Why is this happening, and is there any way to prevent it? If there isn't, could I edit the image afterwards to get rid of the tint?