Skip to content
This repository was archived by the owner on Jun 3, 2018. It is now read-only.

Commit 4c4dd40

Browse files
authored
Merge pull request #5 from YujiSODE/Y20170923
Y20170923
2 parents f365e14 + 9ce0daf commit 4c4dd40

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ https://github.com/YujiSODE/img2Dataurls
55
>This software is released under the MIT License.
66
>See LICENSE or http://opensource.org/licenses/mit-license.php
77
______
8+
>## 0. data URL scheme
9+
>According to RFC 2397 \(Masinter, 1998\), data URL scheme is URL scheme that would work like \'immediate addressing\', and this scheme has following form of URL:
10+
>`data:[<mediatype>][;base64],<data>`
11+
>RFC 2397 \(Masinter, 1998\) shows an example of using data URL scheme as an inline image in a HTML document as follows:
12+
>`<IMG SRC="data:image/gif;base64,R0lGODdhM` ... `AA7" ALT="Larry">`
13+
814
## 1. Synopsis
915
**Tcl**
1016
`::img2Dataurls::getUrls exName1;`
@@ -40,4 +46,5 @@ This script outputs a file that has an array of dataurls corresponding to image
4046
- dataurl64/dataurl64.tcl (Yuji SODE,2017): the MIT License; https://gist.github.com/YujiSODE/009cdfb080e273ec506a1ef24acd050c
4147

4248
## 4. Reference
43-
49+
- Masinter, L. 1998. The "data" URL scheme. *Request for Comments 2397*, *The Internet Society*.
50+
derived on \[2017-09-23\] from: https://tools.ietf.org/html/rfc2397

0 commit comments

Comments
 (0)