08-08-2019 07:17 AM
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 .
08-08-2019 08:45 AM
How is the image converted to a BLOB type when it is written to the database?
08-08-2019 09:06 AM
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?
08-08-2019 10:53 AM
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.