LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

JPEG image refused...

I need to write a program that (amongst others) displays (JPEG) images in a user interface. I got some sample images, but it seems to me that I cannot display these images into a canvas. When I (in the UIR-editor) load the image in the canvas I get:
 
"An unspecified error has occurred, probably due to corrupted data"
 
I have tried Paint Shop Pro, and this app accepts the image without problems.
 
So, what is wrong with this image and what function or lib can I use to display this image into my app.
 
Best regards,
Robin...
0 Kudos
Message 1 of 2
(2,719 Views)
Don't bother, i got it myself... There are some strange bytes in the beginning of the file! No corruption though... 🙂
0 Kudos
Message 2 of 2
(2,715 Views)