Re: GMT4: How to make page background transparent?
"Andy Jacobson (NOAA Affiliate)" <[email protected]>
| Newsgroups | gmane.comp.gis.gmt.user |
|---|---|
| Message-ID | <[email protected]> |
Hi John, If you can’t do it “the right way”: a quick and dirty solution is to make the background a distinct color, then use Imagemagick to change that color to transparent: convert -transparent white <in> <out> will make transparent all the white pixels. Apologies to all the ps2raster lovers. -Andy On Fri 15 Nov 2013, at 13:32 , John Helly <[email protected]> wrote: > Hi. > I've looked around but can't find a solution. > > I'm using grdimage followed by psbasemap to produce a map. I've created a custom colormap and its high-end is white (255/255/255). > > I would like to print the white in the map at high elevation but have the page background transparent. Currently the code produces a white background outside of the map frame as well as in the interior of the map. > > I don't seem to be able to find the right parameter(s) to do this with so maybe it's not possible? > > J. > -- > John Helly, University of California, San Diego / San Diego Supercomputer Center / Scripps Institution of Oceanography / 760 840 8660 mobile / stonesteps (Skype) / stonesteps7 (iChat) / http://www.sdsc.edu/~hellyj > > To unsubscribe, send the message "signoff gmt-help" to [email protected] > <hellyj.vcf> -- Andy Jacobson [email protected] NOAA Earth System Research Lab Global Monitoring Division 325 Broadway R/GMD1 Boulder, Colorado 80305 303/578-2237 To unsubscribe, send the message "signoff gmt-help" to [email protected]