EasyEDA API: Inserting Image
Working on trying to standardize our company schematics. When we create them we always place our company logo and company name in the title block.
I'm working on trying to automate this with a script, and am running in to a documentation limitation.
api('createShape', {shapeType:'image', from:'system', title:'company_logo', x:500, y:500})
What is the JSON tag to insert the url for this image? I've tried shortUrl and data:image/png;base64,\ but haven't had any luck.
I've also looked at this documentation :https://docs.easyeda.com/en/DocumentFormat/2-EasyEDA-Schematic-File-Format/index.html-> scroll down to "Image"
Image
"I~610~10~271~105~0~https://easyeda.com/assets/static/images/logo-140x39.png~gge12"
Format:
Check Image element of SVG out.
- command: I
- x: 610
- y: 10
- width: 271
- height: 105
- rotation: 0
- href:https://easyeda.com/assets/static/images/logo-140x39.png
- id: gge12
- locked:null
Still currently unable to get what I want out of the API.
#Bug Reports#Bug Reports
Sign In Or Register Comment after
No comments yet. Be the first to comment!