Added ref to getpalette
Merge pull request #1000 from wiredfool/image-doc

Added ref to getpalette