Rabu, 05 Januari 2011

Base64 Image

Postingan ini hanya keisengan Beben si bloglang anu ganteng kalem tea yang suka ingin tauk, walau sebetulnya malah kebelinger :D Mungkin diantara sobat sudah pada kenal dengan image berformat base64? Gambar dimana rentetan kode panjang banget, walau sebenarnya gambar tersebut kecil resolusinya ;)) Karena blogspot memakai !DOCTYPE yg tidak memungkinkan menampilkan format image tersebut pada sisi postingan, maka tidak nampak hasilnya...hehe. Tapi jika sobat penasaran dengan bagaimana, apa, dan hasil bentuk gambar base64 sobat bisa melakukan tes Add a Gadget ► HTML/Javascript :)) Coba ini masukin, tester broo
<img src="data:image/jpeg,%FF%D8%FF%E0%10JFIF%01%01%01%01%FF%FE%3BCREATOR%3A%20gd-jpeg%20v1.0%20(using%20IJG%20JPEG%20v62)%2C%20quality%20%3D%2090%0A%FF%DBC%03%02%02%03%02%02%03%03%03%03%04%03%03%04%05%08%05%05%04%04%05%0A%07%07%06%08%0C%0A%0C%0C%0B%0A%0B%0B%0D%0E%12%10%0D%0E%11%0E%0B%0B%10%16%10%11%13%14%15%15%15%0C%0F%17%18%16%14%18%12%14%15%14%FF%DBC%01%03%04%04%05%04%05%09%05%05%09%14%0D%0B%0D%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%14%FF%C0%11%08%10%10%03%01%22%02%11%01%03%11%01%FF%C4%1F%01%05%01%01%01%01%01%01%01%02%03%04%05%06%07%08%09%0A%0B%FF%C4%B5%10%02%01%03%03%02%04%03%05%05%04%04%01%7D%01%02%03%04%11%05%12!1A%06%13Qa%07%22q%142%81%91%A1%08%23B%B1%C1%15R%D1%F0%243br%82%09%0A%16%17%18%19%1A%25%26'()*456789%3ACDEFGHIJSTUVWXYZcdefghijstuvwxyz%83%84%85%86%87%88%89%8A%92%93%94%95%96%97%98%99%9A%A2%A3%A4%A5%A6%A7%A8%A9%AA%B2%B3%B4%B5%B6%B7%B8%B9%BA%C2%C3%C4%C5%C6%C7%C8%C9%CA%D2%D3%D4%D5%D6%D7%D8%D9%DA%E1%E2%E3%E4%E5%E6%E7%E8%E9%EA%F1%F2%F3%F4%F5%F6%F7%F8%F9%FA%FF%C4%1F%01%03%01%01%01%01%01%01%01%01%01%01%02%03%04%05%06%07%08%09%0A%0B%FF%C4%B5%11%02%01%02%04%04%03%04%07%05%04%04%01%02w%01%02%03%11%04%05!1%06%12AQ%07aq%13%222%81%08%14B%91%A1%B1%C1%09%233R%F0%15br%D1%0A%16%244%E1%25%F1%17%18%19%1A%26'()*56789%3ACDEFGHIJSTUVWXYZcdefghijstuvwxyz%82%83%84%85%86%87%88%89%8A%92%93%94%95%96%97%98%99%9A%A2%A3%A4%A5%A6%A7%A8%A9%AA%B2%B3%B4%B5%B6%B7%B8%B9%BA%C2%C3%C4%C5%C6%C7%C8%C9%CA%D2%D3%D4%D5%D6%D7%D8%D9%DA%E2%E3%E4%E5%E6%E7%E8%E9%EA%F2%F3%F4%F5%F6%F7%F8%F9%FA%FF%DA%0C%03%01%02%11%03%11%3F%A3u%A1%F8SV%F8%95%E2%E8%FCI%A0%EA7%93%EA%3A%97%97%A5%AE%9E%EC%9EXv%94%92%B8%0A%ACA%D8%A7%23%03oNFh%5B%E9%FA%3F%87~%2C%E8%0B%E1%7D%3EM%3Ak%7DB(nloeg%7C%02%0By%80%BBpz%02%A4uo%F8%0FEs%F1.o%05%FCFO%0F%C1%60%D7ozV%5B%B9%20%B9S%BC%F9N%17%05N%18%E0%F3%96%E7h%18%C8Z%EAf%BB%D2%BCS-%B6%BDn%A6%1DauQ%A6%3D%B4%D2*%88B%DB4%C8Y%99%89%1B%82d%1C%8EI%5Cek%E6%A9%E6%9C%D0%FE%D0pq%8E%FC%B7%D6%DF%F0%C7%D3U%CA%94j%FFf%AA%8AR%DB%9A%DA_%E7%E7%D0%FF%D9"/>
Heres others tool for that ben tools. Aneh kode panjang begitu bisa jadi sebuah syntax image yak sob :D

The data: URI Image

Type:

If you use the URI option, the MIME type will be taken from the remote site, not the type field above.

If you don't trust the UA-provided type, then the type you provide in the text field at the top will be used instead.

See RFC 2387. Privacy policy: All activity is logged, but only serious abuse will be publicised.

HTML4.0 DOCTYPE: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> XHTML1 namespace: http://www.w3.org/1999/xhtmlHappy code base64 \m/

Tidak ada komentar:

Posting Komentar