Convert Photos to Text with Facebook
Step 1: Go to Facebook.com on your desktop and open any photo that has the privacy set to public.
Step 2: Right-click anywhere inside the photo and choose “Open Image in new tab” – this will open the standalone image in a new browser tab outside the Facebook website.
Step 3: Go to the browser address bar and add .html to the photo URL. Press Enter and voila! Facebook will render a HTML version of the image (see example). You can press Ctrl+S in your browser to save the HTML image to your desktop.
Make ASCII Art with Instagram Photos
Instagram, which is also owned by Facebook, too supports image to text conversion. It however requires more work to get the photo URL since Instagram blocks right-click contextual menu. You can either use Chrome Developer tools to get the URL or there’s a simple trick.
Step 1. Open any Instagram photo page. You should open the standalone photo page and not an Instagram profile.
Step 2: Append “media” to the Instagram photo URL to get the direct link to the JPG image.
Step 3. Once you have the direct link, append .html and the Instagram photo will be converted into colored ASCII HTML. Or append .text for plain ASCII text version of the image.
This trick will only work on “public” photos. If the URL of a photo doesn’t end with a .jpg, it is likely that the picture is not public and thus the ASCII conversion will not work. Also, the generated ASCII images are big in size (few MBs) so if you open a couple of them in your browser, it may begin crawling.
0 comments:
Post a Comment