call png where it belons, jpg where it doesn't - parallelism win