Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Problem with QImage and JPEG
QtWS25 Last Chance

Problem with QImage and JPEG

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 4.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tchoninho
    wrote on last edited by
    #1

    I have a problem when I try rescale a image (jpeg image). If I try it in other pc, without qt installed, the image isn't saved.

    I using Windows XP, Qt 4.6.2 and Mingw 4.4.

    Computer Scientist
    Belo Horizonte - Brasil
    C++ Development
    Qt Development

    1 Reply Last reply
    0
    • ? This user is from outside of this forum
      ? This user is from outside of this forum
      Guest
      wrote on last edited by
      #2

      Can you post some test code. Didn't really understand what you are trying to do.

      You resized a JPEG image and tried to save it on another PC and the save failed?

      1 Reply Last reply
      0
      • S Offline
        S Offline
        stukdev
        wrote on last edited by
        #3

        Jpeg is a third part library, you have to port in another pc the plugin qjpeg4.dll.
        remember the folder imageformats/qjpeg4.dll

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andre
          wrote on last edited by
          #4

          It is best to check if image formats and other things supplied by a plugin (such as SQL drivers, for example) are available before trying to use them from your program. If they are not, the program should indicate that error.

          In your case, query QImageWriter::supportedImageFormats() to see if JPEG is supported by the running instance of your application before using it.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved