Skip to content

Commit 3dc2411

Browse files
committed
Extend ExportShapeTool to support the export of image fill content
Add new tool parameter `mode` ("shape" or "fill") to support this Since the fill's format is not guaranteed to be PNG, include dependency `sharp` to handle image format conversion Because the export logic has become more complex, introduce PenpotUtils.exportImage utility function for minimal code to be sent to the plugin for execution Resolves #12
1 parent ec798e0 commit 3dc2411

File tree

5 files changed

+645
-14
lines changed

5 files changed

+645
-14
lines changed

0 commit comments

Comments
 (0)