Re: GMT output Format
"George N. White III" <[email protected]>
| Newsgroups | gmane.comp.gis.gmt.user |
|---|---|
| Message-ID | <CAKTOP4441i50Xd6wOHDQacXqXcJe6a_tygfRcWkkAhVbgW-sXA@mail.gmail.com> |
Or, if you are lucky, find ways to do the work that is repeated in each plot one time only and reuse the results. I've done some projects where we needed 100's of images, using GMT for landmask, map grid, and some line art overlays (stations/boxes). The images where used mainly for "quality control", but I wanted to be able to pick exemplars for use in presentations/publications so opted for GMT vector art. Rather than do everything in GMT I created an overlay, rasterized that to PNG with the ocean set to be "transparent" and then composited the overlay with the individual images. Compositing can be done with ImageMagick or TeX-based packages (I used ConTeXt to provide "captions" with metadata and PDF output). The ConTeXt code was generated by a script. [for publication the GMT vector art can be loaded in Inkscape/Illustrator and an image "placed" behind the vector layer]. On Mon, Jan 20, 2014 at 8:59 PM, Paul Wessel <[email protected]> wrote: > Not to mention that > > 1. Most GMT plots are composites built by several GMT calls, so not easy > to do that in one long-winded pipe with no file to append to, > 2. In order to determine proper bounding box of a general plot we need to > use ghostscript more than once, hence temp file is required. > > So if you want things to go fast then JJ is absolutely right: get fast > computer, perhaps with SSD. > > -p > > On Jan 20, 2014, at 2:41 PM, J.J. Green <[email protected]> > wrote: > > > Mark, > > > >> OK, but do I have to write a PS file, first, then convert, then read in > >> the raster in order to display it? I'm just looking for the most > >> efficient means to display a jpeg or png in my app without costly disk > >> I/O... > > > > Disk I/O is small beer compared to the cost of rasterisation. Not much > > you can do about that (except to wait for Moore to take away the pain) > > I think. > > > > Jim > > -- > > J.J. Green, Seaview Sensing Ltd., > > http://seaviewsensing.com > > > > To unsubscribe, send the message "signoff gmt-help" to > [email protected] > > To unsubscribe, send the message "signoff gmt-help" to > [email protected] > -- George N. White III <[email protected]> Head of St. Margarets Bay, Nova Scotia To unsubscribe, send the message "signoff gmt-help" to [email protected]