VectorStyler
    • Categories
    • Unread
    • Recent
    • Tags
    • Popular
    • Register
    • Login

    Exporting documents with raster images seem weird

    Scheduled Pinned Locked Moved Bugs in VectorStyler
    3 Posts 2 Posters 17 Views 2 Watching
    Loading More Posts
    • 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.
    • nocturnalYLN Offline
      nocturnalYL
      last edited by

      RasterTest.zip

      I put this raster image in a document → Circle.png

      And then I exported it twice, the first time without specifying the dimension, and the second time specifying the output dimension at 64 times the canvas size, then downscaling it by a factor of 64.

      The first export looks off by a pixel with the left and bottom edges looking weird. The second export looks fine.
      Exported-l.png Exported-downscale64-l.png

      Is this normal?

      VectorStylerV 2 Replies Last reply Reply Quote 1
      • VectorStylerV Offline
        VectorStyler @nocturnalYL
        last edited by

        @nocturnalYL Yes, the second export uses higher resolution (before downscaling)

        1 Reply Last reply Reply Quote 1
        • VectorStylerV Offline
          VectorStyler @nocturnalYL
          last edited by

          @nocturnalYL

          I tested this, and it can be replicated. The issue here is that when rendering at low resolution, the image is positioned at sub-pixel positions and the margin can be clipped.

          In this case there is no other way than using higher resolution rendering.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post