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 'gdalinfo -mm <file>'. Vincent