Ahmad Samir
1169859b07
Run clang-format on all cpp/h files
...
NO_CHANGELOG
2021-03-08 20:15:33 +02:00
Kai Uwe Broulik
a4b8295625
[imagedump] Add "list MIME type" (-m) option
...
Allows listing the supported mime types
2021-01-31 20:49:16 +01:00
Albert Astals Cid
d36c191351
tests: Remove qimage_format_enum_names and just use QMetaEnum
2020-11-09 19:15:36 +00:00
Andreas Cord-Landwehr
f4281984c1
Adapt license to LGPL-2.0-or-later
...
According to relicensecheck Brad is OK with changing LGPLv2 to LGPLv2+,
which is required to be compatible with the LGPL-2.1-or-later licensed
source files.
2020-07-21 09:26:47 +00:00
Albert Astals Cid
75ef81a109
QImage::byteCount -> QImage::sizeInByes
2019-07-04 22:26:53 +02:00
Laurent Montel
297b168a52
Use auto here too
2019-02-28 23:03:25 +01:00
Laurent Montel
f1c6c15b06
compile without foreach
...
Summary: compile without foreach
Reviewers: dfaure, apol
Reviewed By: apol
Subscribers: apol, kde-frameworks-devel
Tags: #frameworks
Differential Revision: https://phabricator.kde.org/D19317
2019-02-28 23:02:41 +01:00
Alex Merry
895305050c
Extract QImage::Format parsing into its own header
...
Use the array-of-strings suggested by David Faure so that only one list
has to be maintained instead of three.
REVIEW: 116567
2014-03-05 12:10:31 +00:00
Alex Merry
e29a897cb9
Add imagedump: a utility to dump the raw data of a QImage
...
This is intended as an aid when writing and debugging imageformat
plugins. It creates a file containing the bytes of QImage::bits(),
which can then be viewed in Okteta.
REVIEW: 116532
2014-03-02 16:09:30 +00:00