Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-105319

Saving a picture from a clipboard using QImage::save corrupt the picture

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • 6.2.5, 6.3.1, 6.4.0
    • 6.2.4, 6.3.0
    • GUI: Painting
    • None

      When trying to save an image (with an elongated resolution) copied to the clipboard. The picture duplicates a small piece of the right edge to the left edge
      Input image:

      Result of saving:

      This is a regression from 5.15
      Attached a test project in which you can reproduce this behavior.
      Also attached the video of reproducing the problem.
      Also in the project there is a picture on which the problem is clearly visible.

        1. untitled12.zip
          86 kB
          Andrei Haladok
        2. test.mp4
          1.49 MB
          Andrei Haladok
        3. image-2022-08-03-10-53-57-789.png
          84 kB
          Andrei Haladok
        4. image-2022-08-03-10-54-11-443.png
          53 kB
          Andrei Haladok
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vgt Eirik Aavitsland
            andrei haladok Andrei Haladok
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes