4 Replies Latest reply on Aug 21, 2017 7:26 AM by Pixelysian

    Export sizing issue

    Pixelysian Level 1

      I have an image 290x290px

       

      Screen Shot 2017-08-14 at 15.01.54.png

       

      When I export, it is saving out at 290x291...

       

      Screen Shot 2017-08-14 at 15.02.20.png

       

      I tried putting a box around it that was 292x292. Same problem. Saved out at 292x293px

       

      This is not helpful when you need sizes to be precise.

       

      The only way around it was to create a PSD file at 290x290 and paste in and export from there. Pretty hopeless really :/

       

       

      Please advise.

        • 1. Re: Export sizing issue
          VladG. Level 1

          Hi Pixelysian,

          To understand better what happens in your case I need some information. Could you export the same object to svg for us to take a look at its structure and understand what happens?

           

          Thank you

           

          Vlad

          • 2. Re: Export sizing issue
            Pixelysian Level 1

            Hi Vlad

             

            I am unable to insert an .svg image so here is a link to it:

             

            Dropbox - PPDial.svg

            • 3. Re: Export sizing issue
              VladG. Level 1

              Hi Pixelysian,

               

              I found the reason in your SVG to be the shadow on what's called 'Ellipse 312' in the document.

              The blur of 6 is actually using 9 pixels to render (you can see this if you set a solid shadow color) and if you add that tot he 3px drop of the shadow you get more than the 11 pixels you have from the surrounding group.

               

              This shadow does not impact the parent size but we do want it output in the PNG rasterization, that's why you get a different file size (you can test with larger drop shadow Ys to see this).

               

              In this particular case, setting 5.33 instead of 6 to the shadow's blur factor fixes your issue.

               

              Using a rectangular path of 290x290 to mask the current object also works.

               

              Hope this helps,

              --

              Vlad

              1 person found this helpful
              • 4. Re: Export sizing issue
                Pixelysian Level 1

                Hi Vlad

                 

                Thank you for investigating.

                 

                It's a bit of a nightmare but at least there is a workaround with a rectangular path mask!

                 

                Best wishes