mjollnir wrote:
It's ok. thanks form your reply.
can i know the health status of the image file before process it.
You could try opening and reading its contents first? If the file is
bad, I'd say you'd probably get an error somewhere while reading it. On
the command line I'd do this with '
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;
size_t n
mjollnir wrote:
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 th
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