Results 1 to 7 of 7

Thread: problem in loading tiff images

  1. #1
    Join Date
    Nov 2013
    Location
    Hyderabad
    Posts
    52
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default problem in loading tiff images

    Hi
    On my PC I have Qt 4.7. On my hand held device I need to view tiff images but am unable to do that.When I include tiff-4.0.3 lib and cross compiled , then I can read the image data but still unable to view the image.what should i do??? can anyone please help me regarding this issue???

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: problem in loading tiff images

    what should i do???
    You have provided precisely zero information of use to solving your problem, if indeed it has anything to do with Qt. What does your use of libtiff-4.0.3 have to do with Qt? What does the version of Qt on your PC have to do with your unspecified "hand held device"?

  3. #3
    Join Date
    Nov 2013
    Location
    Hyderabad
    Posts
    52
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: problem in loading tiff images

    I mean how to make QT 4.7 open Tiff files? am using both QImage and Qlabel to display images which only allows Jpgs and Pngs. I need to be able to view Tiff images.
    So far i can open Jpg and Png, but i need to be able to open Tiff using image viewer which had provided in examples.
    when I'm trying to view using the same image viewer on my device(Persona Digital Assistance)"It could not open the file".should i need to include any other library???


    Added after 25 minutes:


    before i've downloaded a tiff-4.0.3.tar.gz lib from http://download.osgeo.org/libtiff/ but its not working
    Last edited by Harini; 24th January 2014 at 10:15.

  4. #4
    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: problem in loading tiff images

    You need the QImage format plugin for tiff built and installed, just like the ones for PNG and JPEG.

    Cheers,
    _

  5. #5
    Join Date
    Nov 2013
    Location
    Hyderabad
    Posts
    52
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: problem in loading tiff images

    Quote Originally Posted by anda_skoa View Post
    You need the QImage format plugin for tiff built and installed, just like the ones for PNG and JPEG.

    Cheers,
    _
    Actually I've included QImage too...can u please explain me in detail??

  6. #6
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: problem in loading tiff images

    Read the detailed description in QImage. If TIFF support is not specifically disabled during the building of your Qt4 library then TIFF support is built using an internal copy of libtiff.

    If your TIFF plugin was not built then either rebuild the Qt library enabling TIFF or build the TIFF plugin by running qmake and make in src/plugins/imageformats/tiff

  7. #7
    Join Date
    Nov 2013
    Location
    Hyderabad
    Posts
    52
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: problem in loading tiff images

    Quote Originally Posted by ChrisW67 View Post
    Read the detailed description in QImage. If TIFF support is not specifically disabled during the building of your Qt4 library then TIFF support is built using an internal copy of libtiff.

    If your TIFF plugin was not built then either rebuild the Qt library enabling TIFF or build the TIFF plugin by running qmake and make in src/plugins/imageformats/tiff
    Did as u suggested but still am unable to view

Similar Threads

  1. Loading 2 images in Same label ->
    By 2lights in forum Qt Programming
    Replies: 3
    Last Post: 18th July 2013, 08:43
  2. Loading images from url in qt 4
    By shalini in forum Newbie
    Replies: 4
    Last Post: 15th September 2011, 16:21
  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. Problem loading multiple GIF images in qtablewidget.
    By sanket.mehta in forum Qt Programming
    Replies: 2
    Last Post: 13th September 2010, 10:31

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.