[Olena-patches] 2091: Add image conversion to p_array.