When opening some .PNG files created in R, using GIMP, and via 'Open as Layers', the color of the images changes. Some turn yellow, some black, one even a gets a reddish tint. When I open them separatly, the problem doesn't occur, but I would like to merge them into one figure, hence I try to open them with 'Open as Layers'. This worked for me in the past, but with these .PNG's, something goes wrong.
All of the files should have the same resolution, extention, were created the same way, etc...
Below you can find a screenshot of gimp, and the layers, they should all show up white, but some get colored, alas:
I can get the different PNG together if i open them separatly, and then copy and paste them into the first opened PNG window. This will keep the original color. However, this takes some time, and would still like to learn how to avoid the color change when bulk importing them all at once.
I found a solution: Instead op opening gimp, and directly importing the images, I now created a new document first, using File > New, and selected a standard template. When I now import all the images using File > Open as Layers, the PNG's show up as exported via R, not colored like in the above example.