[Gdal-dev] no file

mjollnir mjollnir.ray at gmail.com
Tue Mar 31 11:58:25 EDT 2009




You can run the PNG encoder to a memory buffer "virtual file" using the
mechanism described at:

   http://www.gdal.org/cpl__vsi_8h.html#66e2e6f093fd42f8a941b962d4c8a19e

Then you would send the contents of the memory buffer off to the socket.

In theory you could also write a special file handler allowing you to
stream it directly to the socket without an intermediate memory buffer but
that would be very involved.

I like the second idea, would you please give me a clue
-- 
View this message in context: http://n2.nabble.com/no-file-tp2563633p2563823.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.



More information about the gdal-dev mailing list