Try to set quality attribute to 100 to avoid compression in convert call