# GMT.jl errors when trying to plot- problem with PNG?

**URL:** <https://discourse.julialang.org/t/gmt-jl-errors-when-trying-to-plot-problem-with-png/47860>\
**Category:** Geo\
**Tags:** plotting, bug, geo, gmt\
**Created:** [October 6, 2020, 2:51pm UTC](https://discourse.julialang.org/t/gmt-jl-errors-when-trying-to-plot-problem-with-png/47860 "2020-10-06T14:51:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [October 6, 2020, 4:09pm UTC](https://discourse.julialang.org/t/gmt-jl-errors-when-trying-to-plot-problem-with-png/47860/2 "2020-10-06T16:09:28Z")

</div>

Hi,  
For troubles like this the best is to use the issues in the GMT.jl github, or even better, the [GMT forum](https://forum.generic-mapping-tools.org/).

It’s not clear to me what is happening but things point to a `ghostscript` trouble.  
GMT produces only postscript, and when users ask for a different format (`png` here), the ps file is converted via a `ghostscript` call. The default ps file is always written in `/tmp/GMTjl_tmp.ps`. Does that file display correctly?

---

_[View the full topic](https://discourse.julialang.org/t/gmt-jl-errors-when-trying-to-plot-problem-with-png/47860)._
