LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read JPEG-File

Hi,

I got the LV 6i Version and want to modify some pixels with certain
colors in an image. I got this in a JPEG-format and used the Read
JPEG-File - VI. Am I right that this VI only provides a 8-Bit Pixmap and
not a true-color (24-Bit) one?! If so is there a possibility to import a
JPEG image (which is normally a 24-Bit one) into LabView?

Best Regards,
0 Kudos
Message 1 of 4
(3,169 Views)
No, the read JPEG file vi supplies a 'depth' output that will report if the
file is 1,4,8 or 24 bit. The write JPEG file vi uses the depth input to
select how the data is handled. Just drill down in the vi's to see how it
is used.

Bodo Schmidt wrote:
>Hi,>>I got the LV 6i Version and want to modify some pixels with certain>colors
in an image. I got this in a JPEG-format and used the Read>JPEG-File - VI.
Am I right that this VI only provides a 8-Bit Pixmap and>not a true-color
(24-Bit) one?! If so is there a possibility to import a>JPEG image (which
is normally a 24-Bit one) into LabView?>>Best Regards,
0 Kudos
Message 2 of 4
(3,169 Views)
> No, the read JPEG file vi supplies a 'depth' output that will report if the
> file is 1,4,8 or 24 bit. The write JPEG file vi uses the depth input to
> select how the data is handled. Just drill down in the vi's to see how it
> is used.
I did and I found the depth indicator wired to a 8 in the "no
error"-case and to a 0 in the "error"-case.


?!?!?!
0 Kudos
Message 3 of 4
(3,169 Views)
I stand corrected. I had looked in the write jpeg file and it has two different
cases based on depth. one case for 1,4 or 8 bits and one for 24 bits. Seems
the read will always return an 8 as long as there is no error (as you pointed
out). Looks like Labview can't read anything higher than 8 bits. Sorry
for the confusion.

Jared

Bodo Schmidt wrote:
>> No, the read JPEG file vi supplies a 'depth' output that will report if
the>> file is 1,4,8 or 24 bit. The write JPEG file vi uses the depth input
to>> select how the data is handled. Just drill down in the vi's to see
how it>> is used.>I did and I found the depth indicator wired to a 8 in the
"no>error"-case and to a 0 in the "error"-case.>>>?!?!?!
0 Kudos
Message 4 of 4
(3,169 Views)