title: Add text on image using PIL. error message
body: <p>I have the following code that downloads an image and writes text on the image. The download works fine. The error occurs on the draw.text line. I'm not sure why I am getting an error. The ttf file is in the correct location and pathname is correct. I installed Pillow using pip. I didn't come across any errors with it.</p>
  
  <pre><code>import urllib
  
  urlSA = "http://www.wpc.ncep.noaa.gov/archives/sfc/" + year + "/usfntsfc" + year + month + day + "09.gif"
  savedFileSA = "C:/images/sa2000/" + month + day + yearShort + ".jpg"
  
  urllib.urlretrieve (urlSA, savedFileSA)
  
  # Add a title to the SA image
  import PIL
  from PIL import ImageFont
  from PIL import Image
  from PIL import ImageDraw
  
  img = Image.open(savedFileSA)
  draw = ImageDraw.Draw(img)
  fnt = ImageFont.truetype("C:/images/arial.ttf", 12)
  draw.text((10, 10),"Sample Text",(3,3,3),font=fnt)
  
  img.save(savedFileSA)
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "C:\images\storm_reports_Arc103.py", line 105, in &lt;module&gt;
  draw.text((10, 10),"Sample Text",(3,3,3),font=fnt)
    File "C:\Python27\ArcGIS10.3\lib\site-packages\PIL\ImageDraw.py", line 253, in text
  ink, fill = self._getink(fill)
    File "C:\Python27\ArcGIS10.3\lib\site-packages\PIL\ImageDraw.py", line 129, in _getink
  ink = self.palette.getcolor(ink)
    File "C:\Python27\ArcGIS10.3\lib\site-packages\PIL\ImagePalette.py", line 101, in getcolor
  self.palette = [int(x) for x in self.palette]
  ValueError: invalid literal for int() with base 10: ''
  &gt;&gt;&gt; 
  </code></pre>