[ncl-talk] JPG/JPEG format output in NCL?

Karin Meier-Fleischer meier-fleischer at dkrz.de
Sun Mar 15 04:50:22 MDT 2015


Hi Tabish,

JPEG output is not supported. You can convert for example the PNG output from NCL to JPEG using 
ImageMagicks "convert“ program. This can be done inside your script with the "system“ built-in function.

system("convert output_file.png output_file.jpg")


Bye,
Karin

Am 15.03.2015 um 11:31 schrieb Tabish Ansari <tabishumaransari at gmail.com>:

> Hi
> 
> I have been making PDF, PNG, EPS and X11 plots through NCL till now. Is it also possible to directly get the output as a JPEG file?
> 
> Thanks
> 
> Tabish
> -----------------------------------------------------------------
> Tabish U Ansari
> MS Research Scholar
> Environmental & Water Resources Engineering Division
> Department of Civil Engineering
> IIT Madras
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150315/8b9c4f4c/attachment.html 


More information about the ncl-talk mailing list