Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Microprint text onto an image
ResourceFunction["MicroprintImage"][image,str] creates a new image by microprinting the string str at the top left of image. | |
ResourceFunction["MicroprintImage"][image,str,pos] creates a new image by microprinting the string str into the given image at position pos. |
| "Opacity" | 1.0 | the opacity of the microprinted text |
| "Padding" | {0,0} | the amount of pixels to pad from the image boundary |
Microprint strings onto grayscale images:
| In[1]:= |
| Out[1]= | ![]() |
Microprint strings onto color imaged at a specific pixel position:
| In[2]:= |
| Out[2]= | ![]() |
Microprint text onto an image at a certain location with padding:
| In[3]:= | ![]() |
| Out[4]= | ![]() |
Microprint text onto an image using a positional specification:
| In[5]:= | ![]() |
| Out[7]= | ![]() |
Play with the two supported options:
| In[8]:= | ![]() |
| Out[8]= | ![]() |
Unrecognized characters are represented by question marks:
| In[9]:= |
| Out[9]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License