Scales image onto pdf