Libraryless. Click here for Pure Java version (7317L/44K).
sS uploadDataURLImage(S name, S url) { if (!isDataURL(url) && isDataURL(name)) swap S name, url; ret uploadImage(name, imageFromDataURL(url)); // TODO: use bytes directly }
Began life as a copy of #1007320
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
Snippet ID: | #1032502 |
Snippet name: | uploadDataURLImage |
Eternal ID of this version: | #1032502/3 |
Text MD5: | a5e33e517c8db66eb3c37fcd85f81f51 |
Transpilation MD5: | a4480e35475aec4bd2a61d5b7ccfb375 |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-09-11 16:56:46 |
Source code size: | 184 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 162 / 219 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |