Text-to-Bitmap
See examples of what Text to Bitmap does!
Ready for a challenge? Can you crack the code?
Check out a demo of the API -- no programming necessary!
Text to Bitmap API Documentation
Endpoints
- /text_to_bitmap
- /bitmap_to_text
/text_to_bitmap (POST)
Takes your text and encodes it into a bitmap image.
Required parameters
- text_to_encode (URL parameter unescaping is handled by the API)
Example: Oh I'm sure you could think of a cooler message to encode than this.
Optional parameters (If not provided, these will be autogenerated for you.)
- rgbseed (a six-character hexadecimal value from 000000-ffffff; applied as offsets to every R, G, and B value)
Example: 02ab29 - addvalpos (A string of numbers, valid values include 0,1,2,3, and 4. Security feature used to make it more difficult for unintended recipients to decode your image.)
Example: 01204031021034231 - rgborder (Groupings of three characters: r, g, and b, in specific orderings, separated by a comma. Security feature used to scramble the order in which the rgbseed is applied, and thus make it more difficult for unintended recipients to decode your image.)
Example: gbr,rgb,grb,brg
/bitmap_to_text (POST)
Given an encoded bitmap image and the proper decoding instructions, returns the hidden text.
Required paramters
- bitmap_filename (Full URL of the bitmap image to decode)
Example: http://shannonturner.github.io/text-to-bitmap/examples_uni/secret_3.bmp - offset (a number returned by /text_to_bitmap upon encoding)
Example: 33 - rgbseed (a six-character hexadecimal value from 000000-ffffff; applied as offsets to every R, G, and B value)
Example: feeb1e - addvalpos (A string of numbers, valid values include 0,1,2,3, and 4. Security feature used to make it more difficult for unintended recipients to decode your image.)
Example: 4231020204104 - rgborder (Groupings of three characters: r, g, and b, in specific orderings, separated by a comma. Security feature used to scramble the order in which the rgbseed is applied, and thus make it more difficult for unintended recipients to decode your image.)
Example: gbr,rbg,grb,gbr,gbr,rgb,brg