User 818520b6b8
26-04-2005 13:40:05
Hi all,
I have a problem when saving molecules from our application.
I add an attachment showing the differences between what our application saves and what Marvin Sketch with default properties saves, for the same structure.
In the zip file you can see three images:
- database_image.jpg: molecule loaded into our custom application from database. It has a red circle around the problem.
- saved_api_image.jpg: the jpg resulting from saving the image from our custom application
- saved_sketch_image.jpg:image saved from sketch with default options. This is the expected result we'd like to obtain.
The parameters for marvin view are the following:
The parameters for image saving are the following:
String format = "jpeg:scale18,-a,H_off,mono,atsiz0.6";
Where is the problem?
Please help !!!!
I have a problem when saving molecules from our application.
I add an attachment showing the differences between what our application saves and what Marvin Sketch with default properties saves, for the same structure.
In the zip file you can see three images:
- database_image.jpg: molecule loaded into our custom application from database. It has a red circle around the problem.
- saved_api_image.jpg: the jpg resulting from saving the image from our custom application
- saved_sketch_image.jpg:image saved from sketch with default options. This is the expected result we'd like to obtain.
The parameters for marvin view are the following:
Code: |
String layout = "layout0=:2:1:M:1:0:1:1:c:b:1:1:L:0:0:1:1:c:n:0:1\n" + "param0=:M:300:250:L:12b\n"; viewer.setParams( "#\n"+ "# MarvinView properties\n"+ "#\n"+ "rows=1\n"+ "cols=1\n"+ "visibleRows=1\n"+ layout + "\n"+ "#\n"+ "# MarvinSketch properties also have to be specified here for the sketcher\n"+ "# windows that are launched from the viewer (using Edit/Structure).\n"+ "#\n"+ "extrabonds=arom,wedge\n"); |
The parameters for image saving are the following:
String format = "jpeg:scale18,-a,H_off,mono,atsiz0.6";
Where is the problem?
Please help !!!!