Libraryless. Click here for Pure Java version (7317L/44K).
1 | sS uploadDataURLImage(S name, S url) { |
2 | if (!isDataURL(url) && isDataURL(name)) |
3 | swap S name, url; |
4 | ret uploadImage(name, imageFromDataURL(url)); // TODO: use bytes directly |
5 | } |
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: | 163 / 220 |
Version history: | 2 change(s) |
Referenced in: | [show references] |