Email to image conversion (with API)



There are bots spread over the internet that crawl websites for email addresses for either "mailto:" tags or for [Hello@creationsurplus.com] pattern. There are enough email addresses on the internet openly written on the websites and are most likely to be picked up by spammers. You have, at some point in time, wondered looking at the number of junk emails that you get everyday, where they get your email address from, haven't you? Well, there are a number of ways "they" get your (mine, too) email address for spamming.

  • 1. You signed up for something on some website and they had a "legal contract" with you saying they will share it with their "partners".
  • 2. Some softwares auto-generate random email addresses and yours happened to be one of such common ones that a software could guess.
  • 3. You left your email address "open" (read naked) on the internet for bots to read.


Well, I may not have solution to the first two, but today I am presenting you with a solution for the third point. This small form here will let you submit an email address, choose a foreground color, a background color and a border color and generate an image (and a URL) for you to use on the internet. Crawlers will not be able to "read" your email address from the image. That will save you from a number of extra spam emails.

For the developers, I am also providing a way to use this service for creating images of email address on the fly for using on your websites. You can use this API to convert any email address on your website into an image. This will save you a lot of extra-coding and save your customers' email addresses from spam. Any feedback appreciated at original post on my blog.
CONVERT EMAIL TO IMAGE








Your Image Will Appear Here
your email address
Copy the URL from here:
You will also find the URL and image displayed below!!
Email2Image Live Demo:
Copy the following URL to use as the image source:
http://creationsurplus.com/email2image.php?api=QFxlZmI%3D&im=ODg1MzlAQ3JlYXRpb25TdXJwbHVzLmNvbQ%3D%3D&bg=ffffff&fg=000000&bd=000000

You can also save the following image instead. [right click + 'save image as' and save as ".png" file]
your email address
Email2Image API:
You can call this url as follows to retrieve your image URL which you can use to create image from email address on the fly.
http://creationsurplus.com/emailtoimage.php?api=creationsurplus&im=Your_email&bg=Background_color&fg=Text_color&bd=Border_color

This will produce an image URL that will look like the following (notice the url is different with a new API key alloted to you):
http://creationsurplus.com/email2image.php?api=abcdefgh&im=hello@creationsurplus.com&bg=ffffff&fg=000000&bd=ffffff

HTML Usage:
<img src="http://creationsurplus.com/email2image.php?api=abcdefgh&im=hello@creationsurplus.com&bg=ffffff&fg=000000&bd=ffffff" alt="Email Me" />

PHP Usage:
<img src="<?php file_get_contents('http://creationsurplus.com/emailtoimage.php?api=creationsurplus&im=hello@creationsurplus.com&bg=ffffff&fg=000000&bd=ffffff');?>" alt="Email Me" />