Provides a histogram data structure for png, jpeg, gif using canvas