newbie - colour oddness

Hi openframeworks - my first post.

been messing around for about a week, and am having a very odd colour issue.

WHen i load an ofImage, and display it it works fine. If I then resize() it, the colours get totally warped, and the image is MAINLY gray.

is there some pallette thing going on here?

advice needed.

Charlie.

yes, that’s a know issue, it’s going to be solved in 0061 meanwhile you can solve it by removing this in line 424 in ofImage.cpp:

  
#ifdef TARGET_LITTLE_ENDIAN  	 	   
if (pix.bytesPerPixel != 1) swapRgb(pix); 		   
#endif  

wicked thanks arturo.

hello,

I had the same problem.

Thanks for the manual fix of arturo.