Closed LvJianting closed 7 months ago
When exporting the image as PNG format, the Eclipse SWT framework tries to allocate a data array:
If the size of the image is too big then then this number can overflow and become negative.
This can only happen if your computer display is at 100% scaling (not high DPI) and you have checked the Archi Preference under General -> Other -> Export images at double scale
. Try turning this off. (If, your display is at 200%, leave it on.)
If that does not work then the only option is to reduce the size of your diagram.
When export SVG image, max width only can be 10000
I will increase this to 50000 in the next version of Archi.
When export SVG image, max width only can be 10000, which is not enough for my big view
For now you can edit the SVG file in a text editor and change the value from 10000 to 30000:
viewBox="0 0 10000 5986"
When export SVG image, max width only can be 10000, which is not enough for my big view
For now you can edit the SVG file in a text editor and change the value from 10000 to 30000:
viewBox="0 0 10000 5986"
Thanks very much~
Version of Archi
5.2.0
Archi Plug-ins
Operating System
Windows 10
Expected Behaviour
Export a big view to HTML report or image.
Actual Behaviour
When export HTML report(works well in 4.10.0):![image](https://github.com/archimatetool/archi/assets/20265014/9bbc35ff-d8f3-4f62-8315-36497bfa7844)
When export PNG image(works well in 4.10.0):![image](https://github.com/archimatetool/archi/assets/20265014/406596a8-2937-4695-98d4-4ce033581cea)
When export SVG image, max width only can be 10000, which is not enough for my big view(may 50000 is enough).![image](https://github.com/archimatetool/archi/assets/20265014/b7e139be-2bf6-4244-a007-d64b8b946969)
Error Log & .archimate file
error_log.txt
example.zip
Steps to Reproduce the Behaviour