Skip to main content
SheaB
Inspiring
June 8, 2024
Question

Resizing vector graphics are distorting dimensions

  • June 8, 2024
  • 2 replies
  • 664 views

I'm having trouble resizing graphics. I'm using vector graphics. All snapping is turned off. I am looking for precision scaling. Even when input manually, not using any transform tools or scaling, the numbers jump randomly.

 

When I lock width and height and update one measurement, I end up with different results for multiple objects on the stage that started with the same measurements. For instance:

 

I have 7 sharps (hashtag symbol), each one starts the same: 16.05w x 54h px

 

I size them all down, some end up:  7.45w x 25h px

 

Others end up: 7.4w x 25h px

 

I am attaching a screenshot showing them before resizing and resized on the right. I can line them all up in the same position on the stage or have them staggered like this, same results. Is there a snapping, preferences, or advanced editing setting that I can adjust? 

 

Also, If I manually change the width to match, selecting to "unlock width and height" the number won't stay input. So I can change the ones that end up 7.4 width to 7.45 width and they just revert back. Any suggestions?

 

 

 

 

    This topic has been closed for replies.

    2 replies

    JoãoCésar17023019
    Community Expert
    Community Expert
    June 8, 2024

    Hi.

     

    This is actually a bug introduced in Animate in recent years.

     

    I think a workaround now would be to set the scale as close as you can in the IDE and then run some code (AS3 or JavaScript, depending on the document type you're working on) to precisely scale your graphics.

     

    Regards,

    JC

    kglad
    Community Expert
    Community Expert
    June 8, 2024

    i've noticed it for many years., across many versions.  but i've never seen a perceptible issue.

    JoãoCésar17023019
    Community Expert
    Community Expert
    June 8, 2024

    This issue is specially noticeable when working with 3D transformations.

     

    It's basically impossible to transform something precisely.

    kglad
    Community Expert
    Community Expert
    June 8, 2024

    for visuals, in animate .05 = 0

    SheaB
    SheaBAuthor
    Inspiring
    June 8, 2024

    what does that mean? That to animate it's not distinguishing between .00 and .05 it's really only going to .0 measurement? 

    kglad
    Community Expert
    Community Expert
    June 8, 2024

    i mean it's typical to have something sized at 123.95 trying to change that to 124 fails. i suspect it's because it's a digital computer and works on base-2, not 10.