oops, it seems I misspelled it it should be QQuickImage
On Wed, Apr 12, 2017 at 5:03 PM, Jason H <jh...@gmx.com> wrote: > This one? https://github.com/KDE/kdeclarative/blob/master/src/qmlcontrols/ > kquickcontrolsaddons/qimageitem.cpp > It's from KDE.. I'm not using KDE. But it looks to be LGPL.. So I'll check > it out. Thanks. > > Seems odd though to have the Q Prefix... > > *Sent:* Wednesday, April 12, 2017 at 8:38 AM > *From:* "Vlad Stelmahovsky" <vladstelmahov...@gmail.com> > *To:* "Roland Hughes" <rol...@logikalsolutions.com> > *Cc:* interest <interest@qt-project.org> > *Subject:* Re: [Interest] Getting a QImage from an QML Image, protocol, > agnostic QImage? > 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 < > rol...@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-requ...@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@qt-project.org >> http://lists.qt-project.org/mailman/listinfo/interest >> > > > > -- > Best regards, > Vlad > _______________________________________________ Interest mailing list > Interest@qt-project.org http://lists.qt-project.org/ > mailman/listinfo/interest > -- Best regards, Vlad
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest