Results 1 to 6 of 6

Thread: Image Saving Problem

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2012
    Posts
    5
    Thanks
    4
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Image Saving Problem

    When I call save on my QImage it fails. There isn't anything wrong with the file name. The image isn't NULL, and is a proper image. The program works perfectly on another computer.

    Is there any way to tell why it is failing? I am thinking it has something to do with file permissions, but I don't know where to start. The computer in question is a mac. I was also thinking I could be missing a library, but I copied over everything and mac-dependency isn't giving me any errors.

    Update: Trying to save "a.jpg" fails, but "a.png" works. It looks like it has something to do with saving ".jpg" files. I believe Qt doesn't support this natively, but instead relies on the current system to provide the functionality. I probably just need to add a library to the mac.

    Any help would be greatly appreciated!

    Thanks,

    Matthew
    Last edited by WarGamer; 30th July 2012 at 19:17. Reason: updated contents

Similar Threads

  1. Problem with qwt6 and saving plot as image
    By discovery in forum Qwt
    Replies: 2
    Last Post: 12th November 2011, 19:18
  2. Problem saving JPG image
    By avis_phoenix in forum Newbie
    Replies: 1
    Last Post: 31st July 2009, 15:38
  3. Saving qwt plot as image
    By giusepped in forum Qwt
    Replies: 13
    Last Post: 14th July 2009, 07:39
  4. Regarding saving of image in QTOPIA sdk
    By prajna in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 22nd April 2009, 06:45
  5. Saving already opened image ...
    By Godlike in forum Newbie
    Replies: 14
    Last Post: 28th March 2006, 21:17

Tags for this Thread

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.