Skip to main content
SheaB
Inspiring
Jun 8, 2024 4:20 AM UTC
Question

Resizing vector graphics are distorting dimensions

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 is closed to new replies. Start a new post to keep the conversation going.

    9 replies

    JoãoCésar17023019
    Community Expert
    Community Expert
    Jun 8, 2024 11:47 AM UTC

    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

    Translate
    kglad
    Community Expert
    Community Expert
    Jun 8, 2024 12:53 PM UTC

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

    Translate
    JoãoCésar17023019
    Community Expert
    Community Expert
    Jun 8, 2024 1:20 PM UTC

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

     

    It's basically impossible to transform something precisely.

    Translate
    kglad
    Community Expert
    Community Expert
    Jun 8, 2024 4:35 AM UTC

    for visuals, in animate .05 = 0

    Translate
    SheaB
    SheaBAuthor
    Inspiring
    Jun 8, 2024 4:59 AM UTC

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

    Translate
    kglad
    Community Expert
    Community Expert
    Jun 8, 2024 5:02 AM UTC

    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.

    Translate