- Joined
- Feb 9, 2011
- Messages
- 2
- Reaction score
- 0
- Points
- 1
So, while working on a project, I made a window with two NSImageViews on it, one which covers the whole window, and another on top of that. I wanted to load an image into each of the views. The first view loads its image fine (using setImage:NSImage) but when I attempted to do the same with the second view, the image came out as greyscale, even though the original image is in color.
Both images are .png, and are included in the package. When viewed in XCode or in other programs, they both have color. Only when it gets loaded does the image lose color.
Anyone have any idea what could be going wrong?
Both images are .png, and are included in the package. When viewed in XCode or in other programs, they both have color. Only when it gets loaded does the image lose color.
Anyone have any idea what could be going wrong?