getImageByTypeAndQuality

Fixes #5