Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
6.0.0
-
None
Description
I have a picture in tiff format, muju.tiff, located in ftp. The path on Linux is /run/user/1000/gvfs/ftp:host=10.8.0.116/temp/muji.tiff. When I use this path to load pictures, the pictures cannot be displayed normally.
Unsupported format:tif、tiff、pcx、mrw、j2k、ico、pnm、psd、cr2、raf、dng、nef、pef、mef、raw、orf、pic、wbmp
// QString path = "/home/thx/Pictures/muji.tiff"; QString path = "/run/user/1000/gvfs/ftp:host=10.8.0.116/temp/muji.tiff"; QImage img(path); label->setPixmap(QPixmap::fromImage(img));