3 input arguments. The first is the name of the image file (in quotes) you wish to use. The second is a gamma correction factor used to alter the way the product comes out. Fiddle around with numbers between 1 and 5 until it looks good. (generally low numbers make it darker). The third input is the name of a text file you want to output to.
Example function call:
Open the text file in notepad using its standard font and with word wrap turned off to view.