Grads 2.1.a1 and weight png: force tu use GD librairy?

All issues/questions about EMS v3.4 package, please ask here.
Post Reply
meteo60
Posts: 104
Joined: Tue Apr 17, 2012 4:50 pm

Grads 2.1.a1 and weight png: force tu use GD librairy?

Post by meteo60 » Wed Jun 18, 2014 10:45 pm

Hello,

I updated grads from v2.02 to v2.1.a1 and now I have some problems on my png pictures:

With the new version, the weight of png is much more important, approximately 350ko instead 80ko! And the image quality seems worse. I read on documentation v2.1 use Cairo librairy and not GD library.
Is it possible to force grads to use GD? Or do you know a way to have best png weight?

surgeon
Posts: 46
Joined: Wed Dec 08, 2010 1:34 pm
Location: Poland
Contact:

Re: Grads 2.1.a1 and weight png: force tu use GD librairy?

Post by surgeon » Thu Jun 19, 2014 4:07 pm

meteo60 wrote:Hello,

I updated grads from v2.02 to v2.1.a1 and now I have some problems on my png pictures:

With the new version, the weight of png is much more important, approximately 350ko instead 80ko! And the image quality seems worse. I read on documentation v2.1 use Cairo librairy and not GD library.
Is it possible to force grads to use GD? Or do you know a way to have best png weight?
You can turn off antialias http://www.iges.org/grads/gadoc/gradcom ... alias.html, but it will still produced images slower, larger and lower quality than with GD library in older version of grads.

meteo60
Posts: 104
Joined: Tue Apr 17, 2012 4:50 pm

Re: Grads 2.1.a1 and weight png: force tu use GD librairy?

Post by meteo60 » Thu Jun 19, 2014 11:27 pm

I'm testing another way to get png like grads 2.0.2:
mogrify -format gif *.png
rm *.png
mogrify -format png *.gif
rm *.gif

I confirm: the weight decreased!

Post Reply