AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2017.07.01 14:21 "[Tiff] Read tiff file piped from stdout ?", by Aaron Boxer
2017.07.01 14:26 "Re: [Tiff] Read tiff file piped from stdout ?", by Aaron Boxer
2017.07.01 16:24 "Re: [Tiff] Read tiff file piped from stdout ?", by Aaron Boxer
2017.07.01 16:06 "Re: [Tiff] Read tiff file piped from stdout ?", by scott ribe
2017.07.01 15:21 "Re: [Tiff] Read tiff file piped from stdout ?", by Aaron Boxer
2017.07.01 15:23 "Re: [Tiff] Read tiff file piped from stdout ?", by Even Rouault
2017.07.01 15:29 "[Tiff] Fwd: Read tiff file piped from stdout ?", by Aaron Boxer
2017.07.01 17:58 "Re: [Tiff] Read tiff file piped from stdout ?", by scott ribe
2017.07.01 16:26 "Re: [Tiff] Read tiff file piped from stdout ?", by Aaron Boxer
2017.07.01 14:52 "Re: [Tiff] Read tiff file piped from stdout ?", by Even Rouault
2017.07.01 19:29 "Re: [Tiff] Read tiff file piped from stdout ?", by Bob Friesenhahn

2017.07.01 16:26 "Re: [Tiff] Read tiff file piped from stdout ?", by Aaron Boxer

On Sat, Jul 1, 2017 at 12:06 PM, scott ribe <scott_ribe@killerbytes.com> wrote:

Why not create a temporary file?

I guess the downside is increased memory usage.

>
> > On Jul 1, 2017, at 9:21 AM, Aaron Boxer <boxerab@gmail.com> wrote:
> >
> > Thanks, Even. I will take a look. I suppose I could read the stream into
> memory, and then read from that.
> > Will vsistdin work on windows ?
> >
> > On Sat, Jul 1, 2017 at 10:52 AM, Even Rouault <
> even.rouault@spatialys.com> wrote:
> > On samedi 1 juillet 2017 10:21:12 CEST Aaron Boxer wrote:
> > > Is it possible to read a tiff file from stdout ?
> >
> > In the general case, no. If the file has been specifically created for
> being read in a streamble way and the read access pattern is compatible of
> it, yes. You may read with interest the "Streaming operations" section at
> the end of
> > http://gdal.org/frmt_gtiff.html for more details
> >
> > The GDAL /vsistdin/ special file mentionned in it is mostly a wrapper
> over standard stdin, with buffering of the first 1MB so that all seeking
> within this first MB works. Beyond /vsistdin/, only accepts dummy seeks (no
> actual position change), or forward seeks.
> >
> > Even
> >
> > --
> > Spatialys - Geospatial professional services
> > http://www.spatialys.com
> >
> > _______________________________________________
> > Tiff mailing list: Tiff@lists.maptools.org
> > http://lists.maptools.org/mailman/listinfo/tiff
> > http://www.remotesensing.org/libtiff/
>
> --
> Scott Ribe
> scott_ribe@killerybtes.com
> (303) 722-0567
>
>