How do I make a custom pictorial element? #39
Answered
by
cdelker
mohammadskabir
asked this question in
Q&A
Answered by
cdelker
Jun 12, 2024
Replies: 1 comment 4 replies
|
You can add images as an element using
Note width and height are relative to schemdraw's drawing unit, the length of a standard resistor. For more complicated applications involving anchors, see the documentation and an example here. |
4 replies
Answer selected by
mohammadskabir
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

You can add images as an element using
ElementImage. For simple image elements, the image can just be added to a schemdraw drawing directly:elm.ElementImage('myimage.png', width=2, height=2)Note width and height are relative to schemdraw's drawing unit, the length of a standard resistor.
For more complicated applications involving anchors, see the documentation and an example here.