Skip to content

Use params.format in exportNodeAsImage instead of hardcoded PNG - #146

Open
bimawa wants to merge 2 commits into
grab:mainfrom
bimawa:feat/formatImageExport
Open

Use params.format in exportNodeAsImage instead of hardcoded PNG#146
bimawa wants to merge 2 commits into
grab:mainfrom
bimawa:feat/formatImageExport

Conversation

@bimawa

@bimawa bimawa commented Mar 2, 2026

Copy link
Copy Markdown

Previously the format was hardcoded to "PNG" regardless of what was
passed in params. Now uses params.format with "PNG" as fallback,
enabling SVG, JPG, and PDF exports.

@bimawa
bimawa marked this pull request as draft March 2, 2026 07:43
@bimawa
bimawa marked this pull request as ready for review March 2, 2026 07:48
@bimawa

bimawa commented Mar 17, 2026 via email

Copy link
Copy Markdown
Author

juansilvadesign added a commit to juansilvadesign/cursor-talk-to-figma-mcp that referenced this pull request Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant