JPEGWriter implemented