Closed yyjim closed 3 years ago
I added scale
property to Image
, so I'm thinking if ImagePack
still need these singleScale
, individualScales
cases.
I will do code review on the weekend.
What do you want to use idioms for? You can export illustration as PDF file and stretch it on iPadOS.
We want to use idiom
suffix to export different images with same asset name. I'll provide an example.
All issues are solved, please review it again.
Thanks
One more thing... Could you please add information about idioms to the README? Design requirements / For figma-export images
@subdan I've add explanation for the idiom usage, please help check if there's anything still not clear :)
Just update it, please check them again, thanks!
fixed them 👍
Description
Support export image with
~idiom
suffix for #36Changes
Added
scale
andidiom
toImage
typeAdded
images
case toImagePack
Update ImagesLoader
loadPNGImages
function.name
andidiom
.literate the group result keys and covert into
Image
and pack all images into aImagePack
Select valid images for exporting. The asset catalog support different idiom types, but each type only support certain scale value.