Search found 2 matches

by zester
2013-05-09T18:53:26-07:00
Forum: Magick++
Topic: Loading image with Magick++, displaying with Qt
Replies: 2
Views: 13624

Re: Loading image with Magick++, displaying with Qt

Try this code ... QImage* MainWindow::toQImage(Image &image) { qDebug() << "toQImage:" << image.columns() << image.rows(); QImage *newQImage = new QImage(image.columns(), image.rows(), QImage::Format_RGB32); const Magick::PixelPacket *pixels; Magick::ColorRGB rgb; for (int y = 0; y < newQImage ...
by zester
2013-05-09T18:31:18-07:00
Forum: Magick++
Topic: Loading image with Magick++, displaying with Qt
Replies: 2
Views: 13624

Re: Loading image with Magick++, displaying with Qt

I cant be exactly sure on your issue but I do know that ... 1. Image Magick is particular about what you give it to process, Example: You dont want to process a 8Bit image as a 32Bit image. and 2. You have to do a color conversion when passing an image from Qt to Magick++ and vise versa. Also note ...