Results 1 to 3 of 3

Thread: QImageReader & Tiff image QImageReader:: supportedImageFormats();

  1. #1
    Join Date
    May 2006
    Posts
    788
    Thanks
    49
    Thanked 48 Times in 46 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default QImageReader & Tiff image QImageReader:: supportedImageFormats();

    On page i read now ... qt4.2 can read tiff format i supported ......

    Target: I like only transform tif2jpg....

    ....
    http://www.trolltech.com/developer/n...changes-4.2.0/
    search tiff inside ....

    Why i not find on list QImageReader::supportedImageFormats();
    I use 4.2.1 window (mingw compiler) / mac (xcode tiger universal)

    & http://artis.imag.fr/Software/TiffIO/ is not possibel to compile on 4.2! win + mingw
    200 line of error....


    Qt Code:
    1. QString filter;
    2. QSettings setter;
    3. filter = tr( "All supported Types" ) + " (";
    4. QList<QByteArray> formats = QImageReader::supportedImageFormats();
    5. for ( int x = 0; x < formats.count(); ++x ) {
    6. /* not list ¨!tiff*/
    7. }
    To copy to clipboard, switch view to plain text mode 

  2. #2
    Join Date
    Jan 2006
    Location
    Russia
    Posts
    50
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QImageReader & Tiff image QImageReader:: supportedImageFormats();

    Sadly, but it is not implemented yet ... take a look here:
    http://www.trolltech.com/developer/t...entry&id=93364

  3. #3
    Join Date
    May 2006
    Posts
    788
    Thanks
    49
    Thanked 48 Times in 46 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QImageReader & Tiff image QImageReader:: supportedImageFormats();

    Hurra .....! :-)

    I compiled http://artis.imag.fr/Software/TiffIO/ imagetiff plugin .... successfull

    On Ubuntu Linux...
    1) no problem
    shell; qmake TiffIO.pro && make && sudo make install

    On Mac Tiger Xcode:
    1) open the rules.pri file & edit .... find * nothing detected !qt4: CONFIG *=qt3
    leave qt3 and put qt4.
    shell; qmake TiffIO.pro && make && sudo make install

    On Window XP mingw compiler & qt4.2
    1) qmake TiffIO.pro ...
    2) wait to auto scroll 2000 error line
    3) reset Hardware bottom
    4) boot Knoppix CD
    5) KDE -> start -> Root shell
    6) if shel is open enter : fdsik /dev/hda & (remove all NTFS & Fat) end on type a last w

    Now on all OS QImageReader:: supportedImageFormats(); return tif & tiff format...

    IMO: Window is not a OS!

Similar Threads

  1. "sensitising" an image
    By TheKedge in forum Qt Programming
    Replies: 2
    Last Post: 28th June 2006, 08:21
  2. Fast image drawing/scaling in Qt 3.3
    By eriwik in forum Qt Programming
    Replies: 1
    Last Post: 21st June 2006, 11:45
  3. problem with the back ground image
    By Seema Rao in forum Qt Programming
    Replies: 1
    Last Post: 17th April 2006, 22:34
  4. How and when to repaint a widget ?
    By yellowmat in forum Newbie
    Replies: 7
    Last Post: 3rd April 2006, 17:36
  5. Question about updating an image on screen
    By SkripT in forum Qt Programming
    Replies: 1
    Last Post: 24th February 2006, 20:01

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.