31 #include <QtGui/QtGui>
33 #include "tests/data.hh"
35 #include <mln/core/image/image2d.hh>
36 #include <mln/value/rgb8.hh>
37 #include <mln/value/int_u8.hh>
38 #include <mln/io/ppm/load.hh>
39 #include <mln/io/pgm/load.hh>
40 #include <mln/data/convert.hh>
42 #include <mln/convert/to_qimage_nocopy.hh>
52 QImage test = convert::to_qimage_nocopy(input);
53 QImage refpix(MLN_IMG_DIR
"/picasso.ppm");
55 mln_assertion(refpix == test.convertToFormat(refpix.format()));