Op 3-10-2011 17:13, Artem Marchenko schreef: > Hi All > > My app is some kind of special flickr viewer and is nearly fully done in QML. > I want to let user to be able to save some Images to the device. Right now I > am passing the Image's URL to the C++ side and download the image using > QNetworkManager. > > That, however, means that in almost all cases C++ side is going to download > the very same file already downloaded on QML side (by setting Image.source > property). > > Is there a way to avoid double download and pass the Image's data to C++ side > to further saving as JPG or PNG (JPG is the original format if it matters). > You could try using a QDeclarativeImageProvider to fetch the images for you, and keep them accessible at the C++ side as well.
André _______________________________________________ Qt-qml mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-qml
