diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-06-07 10:59:19 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-06-07 11:46:54 +0000 |
commit | 4c9febbcdf171aba660c690a83040a4480a3c2e1 (patch) | |
tree | b943bdf8b3f8eacff4b87ac183f45ab54140a552 | |
parent | a31777a69911907dd767cd0bafc98330403bf5af (diff) |
Developer docs: Add note about optimizing images
Change-Id: Ie3bbcdba4e600e98c2bd5658a25eacabb37c6b52
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
(cherry picked from commit 36615d3eb2c926004f320ef69f018af00b7b0499)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | sources/pyside6/doc/developer/add_port_example.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sources/pyside6/doc/developer/add_port_example.rst b/sources/pyside6/doc/developer/add_port_example.rst index 6182d26c1..fdb400ec9 100644 --- a/sources/pyside6/doc/developer/add_port_example.rst +++ b/sources/pyside6/doc/developer/add_port_example.rst @@ -59,3 +59,6 @@ Port a Qt example - Add the ``"""Port of the ... example from Qt 6"""`` doc string. - Try to port variable and function names to snake case convention. - Remove C++ documentation from ``sources/pyside6/doc/additionaldocs.lst``. + +.. note:: Example screenshots in ``.png`` should be optimized by + running ``optipng -o 7 -strip all``. Alternatively, the ``.webp`` format can be used. |