Re: GMT4: How to make page background transparent?
John Helly <[email protected]>
| Newsgroups | gmane.comp.gis.gmt.user |
|---|---|
| Message-ID | <[email protected]> |
Hi. That approach seems to make the white in the colormap transparent (not what I want to do) but does not affect the page color or background color (which is what I want to be transparent). J. On 11/15/13 12:45 PM, Andy Jacobson (NOAA Affiliate) wrote: > I think Imagemagick will rasterize it, even if going vector-vector. At least, that’s my experience. > > -Andy > > On Fri 15 Nov 2013, at 13:44 , John Helly <[email protected]> wrote: > >> Thanks. I'm trying to stay in vectorland so that seems like a good solution. >> J. >> >> On 11/15/13 12:41 PM, Andy Jacobson (NOAA Affiliate) wrote: >>> 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> >> -- >> 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> -- 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
(text/x-vcard, 158 B)
begin:vcard fn:John Helly n:Helly;John email;internet:[email protected] tel;work:760 840 8660 tel;cell:760 840 8660 x-mozilla-html:FALSE version:2.1 end:vcard