c++ - Handling very large images in Qt -
i can't qt work on images beyond 10,000x10,000. i'm dealing huge satellite images around 2gb each. considered using memory mapping image still occupies space in memory.
qfile file("c://qt//a.ras"); file.open(qiodevice::readonly); qint64 size = file.size(); uchar *img=file.map(0,size); qimage i(img,w,h,qimage::format_argb32);
can tell me more efficient way deal large images in qt?
qgraphicsview , set of image tiles, view handles scrolling , world coords you.
have either pre-chop images tiles in advance or pull section of image data on fly
Comments
Post a Comment