QT能读取哪些格式的图形?
向各位大大求教,详细列举QT都能读取或识别哪些格式的图形
[解决办法]
FormatQt's support
BMP Read/write
GIF Read
JPG Read/write
JPEG Read/write
PNG Read/write
PBM Read
PGM Read
PPM Read/write
XBM Read/write
XPM Read/write
[解决办法]
每个系统都不一样,查看你的用qDebug()<<QImageReader::supportedImageFormats ();
[解决办法]
By default, Qt can read the following formats:
FormatDescription
BMPWindows Bitmap
GIFGraphic Interchange Format (optional)
JPGJoint Photographic Experts Group
JPEGJoint Photographic Experts Group
MNGMultiple-image Network Graphics
PNGPortable Network Graphics
PBMPortable Bitmap
PGMPortable Graymap
PPMPortable Pixmap
TIFFTagged Image File Format
XBMX11 Bitmap
XPMX11 Pixmap
SVGScalable Vector Graphics
TGATarga Image Format
By default, Qt can write the following formats:
FormatDescription
BMPWindows Bitmap
JPGJoint Photographic Experts Group
JPEGJoint Photographic Experts Group
PNGPortable Network Graphics
PPMPortable Pixmap
TIFFTagged Image File Format
XBMX11 Bitmap
XPMX11 Pixmap