LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read image saved in MySQL Database under BLOB Type

Hi ,

i use this code  to read image saved in MySQL with BLOB type and i get this error .

you find below the code and the error .

Best regard .

code.PNGError.PNG

0 Kudos
Message 1 of 4
(2,850 Views)

How is the image converted to a BLOB type when it is written to the database?

aputman
0 Kudos
Message 2 of 4
(2,808 Views)

It looks like (since your "code" is only a *picture*) you have a 2D array of images... which makes no sense at all.

How was the data inserted into the database?

 

---------------------------------------------
Former Certified LabVIEW Developer (CLD)
0 Kudos
Message 3 of 4
(2,802 Views)

A stored .png, .bmp or .jpg won't cast to a picture control. You'll have to get strings, sometimes store them to file, only to load them as pixmap. .Png and .jpg files can be converted from string to pixmap without a temporary file.

0 Kudos
Message 4 of 4
(2,782 Views)