Skip to content

Instantly share code, notes, and snippets.

@designbyadrian
Last active August 29, 2015 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save designbyadrian/ab3d957af0589e509543 to your computer and use it in GitHub Desktop.
Save designbyadrian/ab3d957af0589e509543 to your computer and use it in GitHub Desktop.
Tiniest Base64 Ever
document.getElementById("img").src = "data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";
<?php
header('Content-Type: image/gif');
echo base64_decode('R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=');
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment