Fix how largeImageThreshold option is set
Merge pull request #23 from doryphores/fix-largeimagethreshold

Fix how largeImageThreshold option is set