Imports rsc.io/pdf golang.org/x/image/tiff Standard library imports bytes flag fmt io/ioutil os path/filepath reflect strings testing image/png image image/jpeg