eliminate brewer2mpl dependance and jpeg