Commit 3dc2411
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 #121 parent ec798e0 commit 3dc2411
File tree
5 files changed
+645
-14
lines changed- mcp-server
- src
- tools
- penpot-plugin/src
5 files changed
+645
-14
lines changed
0 commit comments