LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ SetColorPixelValue

Hi, I have a 2x2 pixel jpeg file and I want to change the RGB color of each pixel. I am using the SetColorPixelValue function. After doing it I save my file in jpg format, but each pixel has a different color that the color I want. Is this a bug of the LabView v7?

Thanks.
0 Kudos
Message 1 of 2
(2,640 Views)
Hello,

You should use IMAQ ColorValueToInteger function to compute the U32 that goes into pixel value terminal. Let me know if you trouble using that as well.

Best regards,

Yusuf C.
Applications Engineering
National Instruments
0 Kudos
Message 2 of 2
(2,640 Views)