Results 1 to 9 of 9

Thread: Problems with "jpeg" library (I guess)

  1. #1
    Join Date
    Jan 2006
    Location
    Catalonia
    Posts
    266
    Thanks
    44
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Problems with "jpeg" library (I guess)

    Hi all, I am working with Qt4 Opensource Version for Windows XP. I have a strange problem : when I try to save a QImage with format "jpeg", the quality parameter seems to be omitted and the final result has always the same size. I don't know why. I've tried to save the image with the class QImageWritter but the result is the same. Has anybody the same problem or knows how to solve it? Thanks.

  2. #2
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Problems with "jpeg" library (I guess)

    You may try to recompile Qt with full JPEG support.
    I think it's basically supported as a plugin but libjpeg is provided with the sources so it shouldn't be too hard (maybe a little bit long but well...)
    Current Qt projects : QCodeEdit, RotiDeCode

  3. #3
    Join Date
    Jan 2006
    Location
    Catalonia
    Posts
    266
    Thanks
    44
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Problems with "jpeg" library (I guess)

    Sorry, I've been looking the configure options but I don't see anyting related with full jpeg support. The only thing I see is that I can choose between the system jpeg library or the one from Qt. I actually am usin the Qt libary (plugins/imageformats/qlibjpeg1.dll) or so I think. Could you tell me how to recompile with full jpeg support, please? Thanks
    Last edited by SkripT; 11th January 2006 at 18:40.

  4. #4
    Join Date
    Jan 2006
    Location
    Catalonia
    Posts
    266
    Thanks
    44
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Problems with "jpeg" library (I guess)

    Anybody could explain me if my problem is that I have to re-compile with full jpeg support. And, in this case, how to do it. Thanxs

  5. #5
    Join Date
    Jan 2006
    Posts
    109
    Thanks
    2
    Thanked 5 Times in 5 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Problems with "jpeg" library (I guess)

    There's no such thing as "full JPEG support" in Qt - either support for JPEG is built in or not.

    Which version of Qt is this?
    80903 - Setting Jpeg Quality does not work

  6. #6
    Join Date
    Jan 2006
    Location
    Catalonia
    Posts
    266
    Thanks
    44
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Problems with "jpeg" library (I guess)

    Thanks, I understand all now. It was really strange that changing the quality nothing happens. Do you know if there's a new version for Windows with this bug fixed??

  7. #7
    Join Date
    Jan 2006
    Location
    Lincoln, NE USA
    Posts
    177
    Thanks
    3
    Thanked 7 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Problems with "jpeg" library (I guess)

    Quote Originally Posted by SkripT
    Thanks, I understand all now. It was really strange that changing the quality nothing happens. Do you know if there's a new version for Windows with this bug fixed??
    Yes, it's called "Linux"!

  8. #8
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Problems with "jpeg" library (I guess)

    Quote Originally Posted by SkripT
    Thanks, I understand all now. It was really strange that changing the quality nothing happens. Do you know if there's a new version for Windows with this bug fixed??
    The bug is mentioned as "fixed", so I guess you download the newest daily snapshot from TT page and it should be there.

  9. #9
    Join Date
    Jan 2006
    Location
    Catalonia
    Posts
    266
    Thanks
    44
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Problems with "jpeg" library (I guess)

    Thanks again

Similar Threads

  1. Having problems compiling QtXmlPatternsd library
    By zorro68 in forum Installation and Deployment
    Replies: 2
    Last Post: 26th May 2008, 06:53

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.