RedMadRobot / figma-export

Command line utility to export colors, typography, icons and images from Figma to Xcode / Android Studio project
MIT License
719 stars 115 forks source link

Export png format with ios images #134

Closed lowfiend closed 2 years ago

lowfiend commented 2 years ago

I see config.md ios images not found format parameter. It export default is svg. Will add format parameter in future?

subdan commented 2 years ago

FigmaExport exports images in PNG format. Which format do you want to use and why PNG format doesn't work for you?

lowfiend commented 2 years ago

I want to export ios images with png. But yaml file ios images option can't use format with png.So it export always is svg.

lowfiend commented 2 years ago

1639093483175

subdan commented 2 years ago

I want to export ios images with png. But yaml file ios images option can't use format with png.So it export always is svg.

FigmaExport always export images in PNG format for iOS. You don't need to specify format.

So it export always is svg.

Remove android options in the figma-export.yml file. When figma-export.yml file contains android.images.format value it tries to export images in SVG format. It is a bug. I will fix it.

lowfiend commented 2 years ago

ok thanks.

Remove android options in the figma-export.yml file

it's work.