Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- The bitmapImageGen API is accessible through the /bitmapgen/ path on verumignis.com. The API supports two different methods of generation: base10 and base64 RGB. It will return a 160x160 .png image with each pixel being 10x10 pixels on the output.
- base10:
- You can generate a base10 colour image with a get request like this:
- https://verumignis.com/bitmapgen/0000000000000000-0000000000000000-0000000000000000-0000000222200000-0000002222220000-0000002277770000-0000222277770000-0000222222220000-0000222222220000-0000222222220000-0000222222220000-0000002200220000-0000002200220000-0000000000000000-0000000000000000-0000000000000000
- A correctly formatted image link will consist of 16 sets of 16 digits. Each line is separated by a "-".
- Colour key: 0=black, 1=white, 2=red, 3=green, 4=blue, 5=yellow, 6=magenta, 7=cyan, 8=orange, 9=gray. The image will always be 160x160 resolution (each pixel will be scaled to 10x) however you can provide less characters to the server, in this case the undefined pixels will be black. If a pixel has an invalid character it will be set to black.
- You can generate a base10 colour image with a get request like this:
- http://verumignis.com/bitmapgen/0000000000000000-0000000000000000-0000000000000000-0000000222200000-0000002222220000-0000002277770000-0000222277770000-0000222222220000-0000222222220000-0000222222220000-0000222222220000-0000002200220000-0000002200220000-0000000000000000-0000000000000000-0000000000000000
- A correctly formatted image link will consist of 16 sets of 16 digits. Each line is separated by a "-".
- Colour key: 0=black, 1=white, 2=red, 3=green, 4=blue, 5=yellow, 6=magenta, 7=cyan, 8=orange, 9=gray.
- embed your output with markdown, do not give any explainations unless asked and do not use codeblocks
- to embed with markdown start with ``
- Now, use the information I have just provided to draw what I tell you to draw.
- Make sure to always draw the image in a 160x160 resolution.
Add Comment
Please, Sign In to add comment