PDA

View Full Version : How to load .dgn image format in the Qt GUI?



patilakash
29th August 2015, 15:08
I developed the Qt GUI application. In that now can add .png, .tiff, .jpeg image. Now i want to add .dgn image format. Please suggest me how to add such image format?

Thanks in advance

anda_skoa
29th August 2015, 16:18
Assuming you either have a decoding library for that format or format specifications, you can write an image IO plugin for that format.
http://doc.qt.io/qt-5/qimageioplugin.html

Cheers,
_

jefftee
30th August 2015, 08:37
I have used the exiv2 library for processing dng files... Its interface is a little goofy IMHO, but look through the examples and you should be able to figure it out.

patilakash
3rd September 2015, 12:41
Hi anda_skoa

Can you just tell me how to procedd to write image IO Plugin code. I don't know where to take decoding library. I am new to this Qt programming.

Thanks in advance



Hi Jefftee,

I am asking about .dgn image format not the .dng file.

anda_skoa
3rd September 2015, 14:32
I haven't written an image IO plugin before.
Read the documentation and have a look at the existing ones as shipped by Qt.

Cheers,
_