Operate images in memory