User fa1369adab
13-06-2006 19:54:12
I have the following MOL string generated by our home-grown software:
The result of
has width 547. I then ask MolConverter() to generate a jpeg with scale 40. The resulting image file has width 319 instead of 219.
Code: |
Lewis 061306154538 11 10 0 0 0 99 V2000 182.0000 129.0000 0.0000 N 0 0 0 0 0 0 232.0000 129.0000 0.0000 N 0 0 0 0 0 0 132.0000 129.0000 0.0000 C 0 0 0 0 0 0 283.0000 129.0000 0.0000 C 0 0 0 0 0 0 232.0000 177.0000 0.0000 O 0 0 0 0 0 0 132.0000 176.0000 0.0000 H 0 0 0 0 0 0 85.0000 129.0000 0.0000 H 0 0 0 0 0 0 132.0000 83.0000 0.0000 H 0 0 0 0 0 0 283.0000 88.0000 0.0000 H 0 0 0 0 0 0 325.0000 129.0000 0.0000 H 0 0 0 0 0 0 283.0000 176.0000 0.0000 H 0 0 0 0 0 0 1 2 1 0 0 1 3 1 0 0 2 4 1 0 0 2 5 1 0 0 3 6 1 0 0 3 7 1 0 0 3 8 1 0 0 4 9 1 0 0 4 10 1 0 0 4 11 1 0 0 A 3 C A 4 C M END |
The result of
Code: |
MolImporter.importMol(mol).getImageSize(jpeg:scale100...) |
has width 547. I then ask MolConverter() to generate a jpeg with scale 40. The resulting image file has width 319 instead of 219.