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

certain image's transformation will cause application crash.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.15.2
    • Fix Version/s: None
    • Component/s: Image formats
    • Labels:
      None

      Description

      check the following attached example.
      the application will crash when QIMAGE invoke the following method

      img.setAlphaChannel( img.createMaskFromColor( QColor( 192, 192, 192 ).rgb(),
                                                          Qt::MaskOutColor ) );
      

      btw,built with qt6.3.1 is ok

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            vgt Eirik Aavitsland
            Reporter:
            xiaoyifang yifang xiao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes