D version.
inputRange -> pixelRange
Merge pull request #32 from Safety0ff/master

D version.