replacing png subproc