7

Sketch can export to 10x... 100x if you like!

5 years ago from , Designer, Developer (@FigmaPlus)

Yesterday I've discovered that when exporting any asset, I can type any number before the "x". So, I'm not limited to the predefined export presets. Neat!

http://cl.ly/image/0h0W0a3U1W0q/sketch-export.jpg

8 comments

  • Rob SilveriiRob Silverii, 5 years ago

    Another trick I learned recently is that you can type the number of pixels followed by "w" for width and "l" for length to export assets at ANY size.

    For example, if you have a an icon that is 150px tall by 100px wide, you can just type 75w in the export tool and Sketch will export your asset at 75px wide and scale the height accordingly.

    In this case, you'd get something that is 75px wide by 113px tall. (Sketch rounds to the nearest pixel).

    3 points
  • Rizwan MRizwan M, 5 years ago

    Proactive thinking by Sketch developers. awsome

    1 point
  • Long Zheng, 5 years ago

    You can also use half ratios like "1.5x".

    I found this out because I based my iOS document at the @2x resolution so exporting for @3x I have to use 1.5x.

    1 point
  • Filip IversenFilip Iversen, 5 years ago

    Nice :)

    0 points
  • Francesco BonomiFrancesco Bonomi, 5 years ago

    That's fine, I was expecting that.

    0 points
  • Kevin XuKevin Xu, 5 years ago

    It's really a forward-thinking idea! Lots of great Sketch tips here https://designcode.io/sketch

    0 points
  • Corin EdwardsCorin Edwards, 5 years ago

    Cool

    0 points