"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/imread.c" between
sip-0.5.6.tar.gz and sip-0.12.1.tar.gz

About: SIP (Scilab Image Processing) toolbox to do imaging tasks such as filtering, blurring, edge detection, thresholding, histogram manipulation, segmentation, mathematical morphology, color image processing, etc.

imread.c  (sip-0.5.6):imread.c  (sip-0.12.1)
skipping to change at line 83 skipping to change at line 83
image=ReadImage(image_info,&exception); image=ReadImage(image_info,&exception);
if (image == (Image *) NULL) { if (image == (Image *) NULL) {
/* clean up */ /* clean up */
if(exception.reason != NULL) { if(exception.reason != NULL) {
char errmsg[50]; char errmsg[50];
for (i=0; i<49; i++) for (i=0; i<49; i++)
errmsg[i]=' '; errmsg[i]=' ';
errmsg[49]='\0'; errmsg[49]='\0';
strncpy(errmsg,GetLocaleExceptionMessage(exception.severity,exception.r eason),50); strncpy(errmsg,SipGetLocaleExceptionMessage(exception.severity,exceptio n.reason),50);
DestroyImageInfo(image_info); DestroyImageInfo(image_info);
DestroyExceptionInfo(&exception); DestroyExceptionInfo(&exception);
DestroyMagick(); DestroyMagick();
sip_error(errmsg); sip_error(errmsg);
} }
DestroyImageInfo(image_info); DestroyImageInfo(image_info);
DestroyExceptionInfo(&exception); DestroyExceptionInfo(&exception);
DestroyMagick(); DestroyMagick();
sip_error("unknown reason"); sip_error("unknown reason");
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS