Closed typekpb closed 12 years ago
On Windows 7 x64, with the version 0.11, after accepting to generate a 2028x84094 image, I get an error in a MessageBox with "A generic error occured in GDI+." If I put the zoom to 300%, it want to generate a 25881x732531 image, I get your error "Parameter is not valid" This is quite normal with a so huge image... But, I will try to improve that.
I improve the error message in case the image is too big to be generated. It is commited in version 0.12
when trying to generate jpg/png for web-app_3_0.xsd (http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd) with all the elements expanded, following error is shown (output file is corrupted): "Parameter is not valid".
Please note that there are also the dependant files required to be downloaded (web-common_3_0.xsd, javaee_6.xsd, jsp_2_2.xsd and javaee_web_services_client_1_3.xsd)
However this works for svg generation without any problem.
My assumption is that this could be caused by the fact that the diagram generated is huge.