-
Notifications
You must be signed in to change notification settings - Fork 132
Added EMF and EPS save as options to TIC and XIC graphs #26
Conversation
I set the target size of the export to depend on the component size on the screen to follow the implementation of the PNG export. Anyway, since the two new image formats are vector files, then the user can scale the images without loosing quality and I therefore think that we should keep the export simple without user defined width and height parameters. I will change the implementation to account for the other issues you raised. |
With regards to the error message box for the user, will the following be enough or are you thinking of a message box with the error? |
I thought about a message box using MZmineCore.getDesktop().displayErrorMessage(), because this is a purely GUI-based operation. |
Is there a nicer way to code this part of the code?
|
how about |
Yep - exactly what I was looking for. Very nice way to solve it 👍 |
I moved the saving of the images to a new class to run it in a separate thread. |
I think the SaveImage class was not included in the commit.. |
Wierd. I have added it now. |
Looks good, merging now. |
Added EMF and EPS save as options to TIC and XIC graphs
No description provided.