How to draw pseudo-colour maps using GMT6?

How to draw pseudo-color images using GMT6? Color images drawn using the grdimage module are always inaccurate (the grdimage module seems to resample the grid)

Please, read Forum tips & tricks: create a good post