[Gdal-dev] Percent complete and jpeg driver

Garrett Potts potts at cfl.rr.com
Tue Mar 21 14:12:12 EST 2006


Hello All:

I am using the progress function and have abort support.  When  
aborting I return a value of 0 from the progress function and this  
does stop GDAL CreateCopy from executing further.  For the jpeg  
driver it calls exit internally since it was not able to read enough  
data.  Is there a way to trap this through GDAL so it doesn't call  
exit but instead errors out gracefully?


Take care

Garrett



More information about the Gdal-dev mailing list