I found I cannot use the "virtual file" with ogr, such as read virual GEOJson
file from memory buffer.
I guess the ogr doesn't support VSI* function,correct me if i'm wrong
Ray,
You can run the PNG encoder to a memory buffer "virtual file" using the
mechanism described at:
http://www.gdal.
It's ok. thanks form your reply.
can i know the health status of the image file before process it.
mjollnir,
It looks like this warning is issued by libjpeg in the fill_input_buffer
function:
fill_input_buffer (j_decompress_ptr cinfo)
{
my_src_ptr src = (my_src_ptr) cinfo->src;
hi,
when i handle a bad jpg file, like this:
eErr = GDALRasterIO(hBand, GF_Read, 0, 0, nXSize, nYSize,..)
i got this error message in console:
Premature end of JPEG file
i'm wonder where the error msg come from. because i found that: eErr == CE_None
when i use this code the code quiet the
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 handl
hi,
i read the image from a JPG file, and translate it to a PNG dataset, now, i
want send the PNG image binary data to a socket directly, actually no
intermediate PNG file needed.
can i do this?
--
View this message in context:
http://n2.nabble.com/no-file-tp2563633p2563633.html
Sent from