Closed cogwirrel closed 3 months ago
Hi @cogwirrel, thanks for reporting the bug.
Currently, the base 64 image field is limited to 1,000,000 characters. Since we are using local storage, we are cautious about the data size.
We do support usage of svg. However, there is a bug when validating the image field for image/svg+xml format. We will release a bug fix soon.
Awesome, thank you! 😄
:tada: This issue has been resolved in version 1.0.41 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
Describe the bug
Architecture images from threat models generated by PDK's cdk graph plugin are often too large to import and fail.
Expected Behavior
Images to import successfully
Current Behavior
Reproduction Steps
packages/infra/cdk.out/cdkgraph/threat-composer.tc.json
) into threat composerPossible Solution
Either increase the size limit, or add support for svg images which will generally be smaller.
Additional Information/Context
No response