List .pbm and .pgm as supported writable image file formats.
QImageWriter can write .pbm and .pgm files, but didn't list them among its supported image file formats. Task-number: QTBUG-22958 Change-Id: I777c7cd9a4b56fcf313248a29a917e594a5e4477 Reviewed-by: aavit <qt_aavit@ovi.com>
This commit is contained in:
parent
2718f2e31f
commit
5762da38b9
@ -691,6 +691,8 @@ void supportedImageHandlerFormats(QFactoryLoader *loader,
|
|||||||
\row \li JPG \li Joint Photographic Experts Group
|
\row \li JPG \li Joint Photographic Experts Group
|
||||||
\row \li JPEG \li Joint Photographic Experts Group
|
\row \li JPEG \li Joint Photographic Experts Group
|
||||||
\row \li PNG \li Portable Network Graphics
|
\row \li PNG \li Portable Network Graphics
|
||||||
|
\row \li PBM \li Portable Bitmap
|
||||||
|
\row \li PGM \li Portable Graymap
|
||||||
\row \li PPM \li Portable Pixmap
|
\row \li PPM \li Portable Pixmap
|
||||||
\row \li XBM \li X11 Bitmap
|
\row \li XBM \li X11 Bitmap
|
||||||
\row \li XPM \li X11 Pixmap
|
\row \li XPM \li X11 Pixmap
|
||||||
@ -710,7 +712,7 @@ QList<QByteArray> QImageWriter::supportedImageFormats()
|
|||||||
QSet<QByteArray> formats;
|
QSet<QByteArray> formats;
|
||||||
formats << "bmp";
|
formats << "bmp";
|
||||||
#ifndef QT_NO_IMAGEFORMAT_PPM
|
#ifndef QT_NO_IMAGEFORMAT_PPM
|
||||||
formats << "ppm";
|
formats << "pbm" << "pgm" << "ppm";
|
||||||
#endif
|
#endif
|
||||||
#ifndef QT_NO_IMAGEFORMAT_XBM
|
#ifndef QT_NO_IMAGEFORMAT_XBM
|
||||||
formats << "xbm";
|
formats << "xbm";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user