Skip to main content
Participant
June 7, 2023
Answered

transform each shape exact pixel without moving at once

  • June 7, 2023
  • 2 replies
  • 2074 views

a couple of days ago I use Illustrator for ui icon design. where I put multiple icons in 14.8078*16.5 px. so now I want to change into height 14px exactly at once. so how to do that? I know if I do the decimal value it can be done, but how without that idea?
NB: I use transform effects tools but it doesn't give me the exact 14px

on the other hand, Figma is done easily. Just select all and set the pixel and ready to go BOOM.
so please kindly shear your thoughts on that how to fix the problem.

i also attach the Figma screenshot.

This topic has been closed for replies.
Correct answer Sergey Osokin

@Nahnudul5C0E I should add that each icon must be a group or compound path to be transformed by the ResizeToSize script. You can set exact values in it, and in later versions you can set the delta of change relative to the size of each object. @Rene Andritsch thanks 🙂

2 replies

Monika Gause
Community Expert
Community Expert
June 7, 2023

Turn off scale strokes and effects. This doesn't matter if there aren't any strokes in your design. But if it is turned on, then you might never land on exact values when scaling.

Sergey Osokin
Inspiring
June 7, 2023

With ResizeToSize we can scale the stroke and get the exact size. The script does a cyclic scaling and checks if the specified value is reached. Of course, Adobe Illustrator actually truncates long decimal places of dimensions and coordinates that the user cannot see.

Participant
June 7, 2023

  

     

Rene Andritsch
Community Expert
Community Expert
June 7, 2023

Use the Illustrator script “ResizeToSize” from Sergey Osokin. It works really well. there is even a YouTube-Tutorial for it here: https://www.youtube.com/watch?v=PN3dAf6rac8
There you will also find the GitHub-download link. Happy Resizing!

Sergey Osokin
Sergey OsokinCorrect answer
Inspiring
June 7, 2023

@Nahnudul5C0E I should add that each icon must be a group or compound path to be transformed by the ResizeToSize script. You can set exact values in it, and in later versions you can set the delta of change relative to the size of each object. @Rene Andritsch thanks 🙂