How to adjust the bond thickness in the molecular structure when generating SVG using Ketcher? #2754
Unanswered
1443957906
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
window.ketcher.generateImage(this.smiles, { outputFormat: 'svg', // 生成图片的类型,可以是"svg"或"png" backgroundColor: '255, 255, 255' // 背景颜色 }).then(res => { this.imageURL = window.URL.createObjectURL(res) // res是blob类型,用该方法转为url后可以在用img展示 })Beta Was this translation helpful? Give feedback.
All reactions