OpenCV getCvImage() vs IplImage Color Shift problem

I am using ofxOpenCv and am also calling some OpenCV functions directly and ran into a peculiar problem: When I use getCVImage() to access the IplImage and handle it using opencv (display or save it) there is a major color shift.

  
  
//pure opencv:  
IplImage* imgOver = cvLoadImage("normal.png", 3);  
cvNamedWindow("mainWin");   
cvShowImage("mainWin", imgOver); //displays normally  
  
//OF opencv  
ofxCvColorImage		colorImg;  
colorImg.allocate(w,h);  
colorImg.draw(0,0); // draws without any problems  
cvShowImage("mainWin", colorImg.getCVImage()); //shows the image with major color shift  
cvSaveImage("test.png", colorImg.getCVImage()); //saves the image with major color shift  
  

My assumption is that the ofxOpenCv color model is in conflict with the normal opencv distribution, but so far i haven’t found any solution. Did anybody else run into this problem? Thanks!!!

what’s your OS? what version of oF are you running? also, it’s unclear to me - are you loading the image using cvLoadImage and then pulling the pixels into a ofxCvColorImage, or are you loading the image using ofxCvColorImage directly?