Results 1 to 5 of 5

Thread: Read TIFF images. Plugin using QImageIOHandler?

  1. #1
    Join Date
    Nov 2007
    Posts
    36
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Read TIFF images. Plugin using QImageIOHandler?

    Hello,

    Qt does not support TIFF images. That's strange for me, but it's ok.

    I think I need to implement a plugin using QImageIOPlugin and QImageIOHandler, that's correct?

    Could please anyone tell me if there is any example to learn about how to code this kind of plugins?

    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: Read TIFF images. Plugin using QImageIOHandler?

    Maybe there are different formats called TIFF, but Qt does support at least one of them
    http://qt-project.org/doc/qt-4.8/qim...ng-image-files

    Cheers,
    _

  3. #3
    Join Date
    Nov 2007
    Posts
    36
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Read TIFF images. Plugin using QImageIOHandler?

    Quote Originally Posted by anda_skoa View Post
    Maybe there are different formats called TIFF, but Qt does support at least one of them
    http://qt-project.org/doc/qt-4.8/qim...ng-image-files

    Cheers,
    _
    Uhm. I thought Qt didn't support TIFF because in my assistant doesn't appear it. My version is 4.2.3, and due to the project we're working we cannot upgrade it.

    So to create a plugin, what do we need? QImageIOPlugin and QImageIOHandler? Any examples on the web?

    Thanks.


    Added after 6 minutes:


    I've found valuable information on this site:

    https://qt.gitorious.org/qt/qtimagef...geformats/tiff
    Last edited by tarod; 22nd February 2014 at 10:38.

  4. #4
    Join Date
    Sep 2009
    Location
    Wroclaw, Poland
    Posts
    1,394
    Thanked 342 Times in 324 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Read TIFF images. Plugin using QImageIOHandler?

    Maybe this one : Writing a Qt Image Plugin
    You can always have a look at plugin implementations that comes with Qt sources in "src/plugins/imageformats".

  5. #5
    Join Date
    Nov 2007
    Posts
    36
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Read TIFF images. Plugin using QImageIOHandler?

    Quote Originally Posted by stampede View Post
    Maybe this one : Writing a Qt Image Plugin
    You can always have a look at plugin implementations that comes with Qt sources in "src/plugins/imageformats".
    Thank you so much!

Similar Threads

  1. problem in loading tiff images
    By Harini in forum Qt Programming
    Replies: 6
    Last Post: 27th January 2014, 09:22
  2. Why show the incorrect TIFF image by QImageReader Read
    By johenny in forum Qt Programming
    Replies: 18
    Last Post: 17th April 2013, 02:59
  3. Loding Tiff Image Vs PNG Images in QT
    By navi1084 in forum Qt Programming
    Replies: 1
    Last Post: 30th June 2011, 09:05
  4. QImage rotate for tiff images
    By jessiemmichael in forum Qt Programming
    Replies: 3
    Last Post: 18th June 2011, 15:32
  5. QImageIOHandler question
    By guher in forum Qt Programming
    Replies: 3
    Last Post: 13th November 2007, 10:04

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.