Sintaxis:
data:[<media type>][;charset=<character set>][;base64],<data>
- data = Definición del esquema "data" seguido de ":".
- media type = Parametro opcional para definir el tipo de dato ejemplo: image/png.
- ;charset = Parametro opcional que define el tipo de caracter, por defecto es US-ASCII.
- ;base64 = parametro opcional para definir que el contenido es binary data.
- ,<data> = son los datos en base64 codificados en US-ASCII.
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAACtCAYAAAD1YTB3AAAABmJLR0QA/wD/AP+gvaeTAAALQUlEQVR4nO3df5CVVR3H8fdlEbd1kR/FACE/FieFNAlztmQsUxodbAfCfmo1/moks6EYzRkrTWcasWTUHZz0DykLx2myTMYFkZrBqFAiBxsNBYsfLevqGrKKLLvA8vTH4dL1unv33uf5nvPcH5/XzPcPftx7z/c857v73Oec5zwgIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiMrBM2g2Q48YCo4GRQA9wAPgvcCjNRtU6FUg6pgIXAJ8GzgBOA04e4P8dAXYBLwPPAuuBTUB/iEaKhHQScC2wEYgSxGvA3cDMsM0X8eMk4IdAF8kKIz/6gd8BZ4ZLRcTWAmA3toWRH4eBe3DfXUQqQgOwAr+FkR/bgY+FSE4kidOBFwhbHNnoBb7lP0WReM4F9pJOceTGMnSFUsrMebi5i7SLIxsPoCKRMvERoJv0iyI/lvpMWqQYo4EdpF8Mg8WX/KUuMrRHSb8ICkU3MN1b9iIFfI70C6CYWOOrA0QGU4//SUDLmO+nG0QGdh3pD/pSYgu6qiWBDAN2kv6gLzXm+eiMajY87QZUqM8A06zebNasWbS0tDBjxgzGjx9Pb28vHR0dbNy4kba2Nvbt22f1Ud8AnrR6M5HBrMTgJ3pzc3O0YcOGqJCenp5o6dKlUWNjo8VvkF5gjOe+kRp3IvA2CQfrjTfeGB0+fLhgceTatm1bNHPmTIsiudJz/0iNO5+Eg3T58uVFF0au7u7uqLm5OWmBPOK/i6SW3UaCAbpo0aJYxZHV3t4ejRs3LkmBdAboI6lhTxBzcI4ZMyZ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EzE1CexvaQbAZ8NmoEd640e8mNRuFTEwmhgF7aDYGXIBIz52OghN/qAc4JlI4k9gu0A6MQtja9kPjZ6yI1dwAdCJSPxfR37g78waAZ+DAeex2+RrEWTiGVtOvAW9ge+WvhczJiN0HdUSpHq8Dd7/ImAefj0I/wXyFHc8+OlzNyOv4O+icp/MtMp2O1UP1TsBZrCpCXFmIP9Jd38uCJYNn78ijDFkY3nSP8mMgFOBnbi/4B3HvusStSM3WbcpcSKEMlJYb5uEBoolgXKyVIGvyt7h4qr/acog7mcsAf7EO5+9kpyGekVRwT0AGd7z1LeYxpuRWnoA94WIDcrDdjeJBY3duBuWJNA6nDP2EvrgFfKmqxbSL84srGGyr8SWDFuJd2DvZ10dlAsxST8rr+KE7d4zVgAN2nn6065UuIG34km9BDp91F+HAEu9phzzRsJ/Jv0D3SEW9IywW+6sZ1DOpd1i4k3cKuLxYNfkv4Bzo2HvGYbTwb4C+n3TaHYjHsmixj6Mukf2Pw4CnzcZ9IxlGM/DRT3++qAWjQVf5uhJY1nKJ+rM/XY3yjmM67w0gs1pg54mvQPZiUc6B+Qfl+UEgdw2xNJApVw0MthndZE0u+HOPEWlbcRRtloxi3vSPsgFhN3eeqDYv2C9PsgbjxO+ZymVoxG4BXSP3jFRi/prdM6B/tHQoeOm817JYHhaTegCDfg9pjdcezP/bgdEgeyb5C/L/SaQ7hz4IH04HbqGMh+3IRXvoj01huNBL4/xL8PdszrKHx62EDhVQOFcj6RwhvLTeX/x+cq4EncffMiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiI+/A8LMCN4mGFKjQAAAABJRU5ErkJggg==
Notas y referencias:
- Data URI scheme Wikipedia en Ingles.
- RFC 2397
- Uniform Resource Identifier - URI Wikipedia en Ingles
- Uniform Resource Locator - URL Wikipedia en Ingles
No hay comentarios:
Publicar un comentario