gmt psconvert irregularity

Added by Januka about 1 year ago

Hi,
I've created a figure and converted it to a .jpg but the .ps is different from the .jpg (see attached). I tried to convert the .ps to a .png and the problem persists. What must be going wrong? I am using Version 5.4.2 (r18461) and the following command for the conversion.

gmt psconvert -A $outps -E720i -Tj

Thanks!

2018_182.ps - original .ps file (30.5 KB)

2018_182.jpg - .jpg after the conversion (273 KB)


Replies (5)

RE: gmt psconvert irregularity - Added by Paul about 1 year ago

Yes, same here. The ps is fine, psconvert gives correct PDF, but the rasters are wrong. We will have to report yet another ghostscript bug. It is getting tiring.

RE: gmt psconvert irregularity - Added by Paul about 1 year ago

Wait a minute. The PS in ghost view looks the same to me as the raster version. What is it that looks different to you? Maybe post a screenshot of what you see in your ps previewer.

RE: gmt psconvert irregularity - Added by Januka about 1 year ago

Hi Paul, attached are my screen shots.

Screen Shot JPG file.png - JPG (427 KB)

Screen Shot PS file.png - PS (776 KB)

RE: gmt psconvert irregularity - Added by Paul about 1 year ago

The problem is your postscript previewer. I get the same plot as you with Apple Preview - because it interpolates the images. The raw ghost view application shows the same as your JPG so all is well with the file.

RE: gmt psconvert irregularity - Added by Januka about 1 year ago

Thanks Paul!

(1-5/5)