GeertWille / sketch-export-assets

Export assets for Android, iOS, Windows Phone in Sketch
GNU General Public License v3.0
434 stars 66 forks source link

Request for configurable export width and height #33

Closed tvluong1988 closed 8 years ago

tvluong1988 commented 9 years ago

Hi, is there a way to configure the plugin to export user-defined size for width and height? I looked through the script and it seems to only offer scaling. Thanks.

GeertWille commented 9 years ago

what do you exactly mean? You can define the size of the asset by drawing an invisible rectangle?

tvluong1988 commented 9 years ago

I have a background image at 960x640. I was hoping to modify your script to generate all the different device sizes (e.g. 1136x640, 2208x1242, 2048x1536, 1024x768), but your script only takes in only scale factor.

I hope that makes sense.