hi,
l'm downloading a file ( image.png) from an instrument using GPIB...l get the file as ASCII, save it in a file. But then when l try to load in Qimage, l get a error message from Libpng lirary. but l can open the saved image on the disk with Infrview and other picture viewer.
Qt Code:
return 0; out << image; file.close(); myImage->load("out.png");To copy to clipboard, switch view to plain text mode
should l convert the Qstring image to an other format before to save in the file ?
regards,
Michael




Reply With Quote
Bookmarks