Use imagemagick sample option for thumbnail generation for speedup