[Interest] Getting a QImage from an QML Image, protocol, agnostic QImage?

Vlad Stelmahovsky vladstelmahovsky at gmail.com
Wed Apr 12 14:38:01 CEST 2017

so, people have to learn how to see images w/o copying them from remote :)

back to topic:
I think topicstarter can use QImageItem as a base class or as a reference

On Wed, Apr 12, 2017 at 12:43 PM, Roland Hughes <roland at logikalsolutions.com
> wrote:

> Only problem with "fetch the file first" is it would be illegal in most
> cases.
> Each and every image on the Internet has a copyright. While it is legal to
> _reference_ an image in any HTML page by linking back to the site which
> hosts the image, it is illegal to copy the image without the express
> written consent of the copyright holder.
> On 04/11/2017 08:22 PM, interest-request at qt-project.org wrote:
> On Tuesday 11 April 2017 16:05:57 Jason H wrote:
> I am looking for a way to get the original pixel data from a Image element
> into QImage. A few ways just grab the image as rendered (returning less
> data if scaled down) but I want the full image.
> I don't mind loading the pixel data for myself, but the Image element take s
> QUrl, and if passed to QImage(url) nothing except local files load, and I
> have to use url().path(). I'd like to pass the full URL to
> QImage("https://blah/file" <https://blah/file>) and have it load synchronously.
> Is there any way to do that?
> Use a QnetworkAccessManager to fetch the file first.
> Cheers,
> Sean
> --
> Roland Hughes, President
> Logikal Solutions
> (630)-205-1593
> http://www.theminimumyouneedtoknow.comhttp://www.infiniteexposure.nethttp://www.johnsmith-book.comhttp://www.logikalblog.comhttp://www.interestingauthors.com/bloghttp://lesedi.us/
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170412/b6812735/attachment.html>

More information about the Interest mailing list