feature : switch to jpeg (q=0.9) if smaller than png version