Results 1 to 5 of 5

Thread: Can't Write Image as Jpeg file

  1. #1
    Join Date
    May 2007
    Posts
    9
    Thanks
    1
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Windows

    Question Can't Write Image as Jpeg file

    Hi everybody..


    When I am trying to write TIFF Image as Jpeg file in our application on MacOSX ,it's getting failed.I am using Qt3.3.8 commercial edition.But I dont have any problem in windows.Am getting message as follows .

    "QImageIO::write: No such image format handler: JPEG"

    Any suggestion will be highly appreciable

  2. #2
    Join Date
    Jan 2006
    Location
    Paris, France
    Posts
    227
    Thanks
    3
    Thanked 21 Times in 21 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Can't Write Image as Jpeg file

    That's probably because your Qt distribution hasn't been compiled with Jpeg Support enabled...

    You can try to recompile your own Qt libs, enabling jpeg support (take a look at 'configure --help' command )

  3. #3
    Join Date
    May 2007
    Posts
    9
    Thanks
    1
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Windows

    Default Re: Can't Write Image as Jpeg file

    I had already configured Qt for jpeg.

  4. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Can't Write Image as Jpeg file

    Just to assure, did you check configure output that the JPEG support was properly enabled? What does QImageIO::outputFormats() output?
    J-P Nurmi

  5. #5
    Join Date
    May 2007
    Posts
    9
    Thanks
    1
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Windows

    Default Re: Can't Write Image as Jpeg file

    This is my configuration ..

    STL support ......... yes
    PCH support ......... no
    IPv6 support ........ yes
    Thread support ...... no
    NIS support ......... no
    CUPS support ........ yes
    Large File support .. partial
    GIF support ......... no
    MNG support ......... plugin (qt)
    JPEG support ........ plugin (qt)
    PNG support ......... yes (qt)
    zlib support ........ system
    OpenGL support ...... yes
    Accessibility ....... yes
    Tablet support ...... yes

    please verify the above settings and give valuable suggestions.

Similar Threads

  1. FSWriteFork in MAC OS to write data to a file.
    By vishal.chauhan in forum General Programming
    Replies: 5
    Last Post: 2nd July 2007, 06:48
  2. qt-3.3.8 fail in scratchbox
    By nass in forum Installation and Deployment
    Replies: 0
    Last Post: 25th May 2007, 15:21
  3. who can give me a tutorials of write .pro file
    By fengtian.we in forum Qt Programming
    Replies: 5
    Last Post: 20th May 2007, 16:25
  4. Can't display .jpg,.jpeg file in my QT app
    By Shalabh in forum Qt Programming
    Replies: 3
    Last Post: 23rd April 2007, 14:52
  5. JPEG Image isn't displayed!?
    By GodOfWar in forum Qt Programming
    Replies: 9
    Last Post: 16th April 2007, 15: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.