Results 1 to 5 of 5

Thread: How to load .dgn image format in the Qt GUI?

  1. #1
    Join Date
    Aug 2015
    Posts
    3
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default How to load .dgn image format in the Qt GUI?

    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

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to load .dgn image format in the Qt GUI?

    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,
    _

  3. #3
    Join Date
    Dec 2009
    Location
    New Orleans, Louisiana
    Posts
    791
    Thanks
    13
    Thanked 153 Times in 150 Posts
    Qt products
    Qt5
    Platforms
    MacOS X

    Default Re: How to load .dgn image format in the Qt GUI?

    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!

  4. #4
    Join Date
    Aug 2015
    Posts
    3
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Re: How to load .dgn image format in the Qt GUI?

    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.

  5. #5
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to load .dgn image format in the Qt GUI?

    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,
    _

Similar Threads

  1. Replies: 2
    Last Post: 20th May 2014, 13:53
  2. Replies: 7
    Last Post: 2nd December 2013, 16:06
  3. TIFF image Format
    By dima in forum Qt Programming
    Replies: 7
    Last Post: 13th September 2010, 13:42
  4. How can change image format?
    By electronicboy in forum Qt Programming
    Replies: 2
    Last Post: 25th October 2009, 09:44
  5. how to load a Qt non-supported Image format
    By Nithya in forum Qt Programming
    Replies: 5
    Last Post: 3rd April 2008, 12:57

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.