Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-10770

[Sketch Bridge] Embedded images with transparent backgrounds get incorrectly cropped/moved

    XMLWordPrintable

Details

    • QDS Berlin - 2023 Week 49/50

    Description

      See the attached project. It contains an embedded PNG image of a blue circle (150x150) at the center of a transparent rectangle (300x200). The image is the same size as the Artboard.

      • When the circle is exported as "Merged", the result is as expected.
      • When the circle is exported as "Child", Qt Bridge crops away the transparent parts of the embedded image, effectively moving the circle.

       

      Expected result

       

      Actual result

      Attachments

        1. TransparencyTest.sketch
          12 kB
        2. TransparencyTest_slice.sketch
          12 kB
        3. TransparencyTest_alt.sketch
          12 kB
        4. circle-sketch.png
          circle-sketch.png
          11 kB
        5. circle-qtds.png
          circle-qtds.png
          10 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vikas Vikas Pachdha
            skoh-qt Sze Howe Koh
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes