Review Request 116532: Add imagedump: a utility to dump the raw data of a QImage

Alex Merry alex.merry at kde.org
Sun Mar 2 16:09:54 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116532/
-----------------------------------------------------------

(Updated March 2, 2014, 4:09 p.m.)


Status
------

This change has been marked as submitted.


Review request for KDE Frameworks.


Repository: kimageformats


Description
-------

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.


Diffs
-----

  tests/CMakeLists.txt 81d903a9c7480acf662421f4429f5f60c146441a 
  tests/imagedump.cpp PRE-CREATION 

Diff: https://git.reviewboard.kde.org/r/116532/diff/


Testing
-------

Builds.

Tested commands:
imagedump -h (prints help)
imagedump -p (prints expected list of QImage::Format options)
imagedump -l (prints expected list of QImageReader formats)
imagedump something.xcf something.data (dumps data in ARGB32 format)
imagedump something.png something.data (dumps data in ARGB32 format)
imagedump -q RGB32 something.xcf something.data (dumps data in RGB32 format)

All data dumps sanity-checked in Okteta.


Thanks,

Alex Merry

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140302/2a56ac4c/attachment.html>


More information about the Kde-frameworks-devel mailing list