Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
supportedformat.cpp
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
4
#
include
<
QtGui
>
5
6
void
wrapper
() {
7
//! [0]
8
QImageWriter writer;
9
writer.setFormat(
"png"
);
10
if
(writer.supportsOption(QImageIOHandler::Description))
11
qDebug() <<
"Png supports embedded text"
;
12
//! [0]
13
14
}
// wrapper
wrapper
void wrapper()
Definition
supportedformat.cpp:6
qtbase
src
gui
doc
snippets
image
supportedformat.cpp
Generated on
for Qt by
1.14.0