jpeg out part is revised