circumventing image scaling