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
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
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,
_
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.
I write the best type of code possible, code that I want to write, not code that someone tells me to write!
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.
Last edited by patilakash; 3rd September 2015 at 12:06.
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,
_
Bookmarks