ImageOutput fixed for GPU