LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

picture control rotation - losing color table

Hi:

I have some code to rotate pixmaps in a picture control.  I am attaching it here with a sample .png.  I lose the default color table when the rotation occurs, and I don't know why.  Any thoughts?

Thanks,

Don
Download All
0 Kudos
Message 1 of 3
(2,350 Views)
You probably need to manually select the polymorphic instance for the "draw unflattened pixmap.vi" in the orientation event case. Right-click on it and "Select type... Draw 8 bit pixmap". Seems to work just fine here after that. 🙂
Message 2 of 3
(2,323 Views)
Don't think I would have figured that one out (and I've been doing this for a long time).  Yes, it works fine now.   I guess this means we can't count on the 'automatic' select type.

I knew I should have stuck with the intensity graph!

Thanks again....Don
0 Kudos
Message 3 of 3
(2,317 Views)