Optimization: Slightly faster image size lookup
Closes #46 (The histogram values sometimes contain colormap data)