Improve Image property and use it in ImageURLTexture.url#14371
Conversation
64e6ed6 to
4025e3d
Compare
|
Even with inlined SVG this still doesn't work in Firefox. |
Unless you think it just can't be fixed for FF, I'd suggest making a new issue for the improvements and merging this PR for that issue now, and keeping #14369 open to investigate later. |
| protocol (utf-8 encoding for ``*.svg`` and base64 for ``*.png`` and | ||
| other binary formats). | ||
|
|
||
| NumPy 2D arrays are also supported and use ``data:`` encoding as well. |
There was a problem hiding this comment.
FWIW suggest we deprecate url soon and eventually replace with a better name that actually encompasses that images are also valid values
Adding |
bb29cf7 to
d0387f6
Compare
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I changed
Image.transform()to better reflect its docstring and promised functionality. I also changedImageURLTexture.urlto useImageinstead of plain string. This way locally referenced resources can be inlined.fixes #14375