converted png encoder