Image data sampler with iterator