in reply to Re^2: Tk not recognising GD image
in thread [Solved] Tk not recognising GD image
So ... there are cases where (formatPtr == NULL) is not necessarily an error.if (formatPtr == NULL) { ... code that might avoid the error by break()ing from the enclosing for() loop } if (formatPtr == NULL) { if ((formatObj != NULL) && !matched) { Tcl_AppendResult(interp, "image format \"", formatString, "\" is not supported", (char *) NULL); } else { Tcl_AppendResult(interp, "couldn't recognize image data", (char *) NULL); } return TCL_ERROR; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Tk not recognising GD image -- further doubts
by Discipulus (Canon) on May 09, 2022 at 08:52 UTC | |
by davies (Monsignor) on May 09, 2022 at 09:09 UTC | |
by Discipulus (Canon) on May 09, 2022 at 09:19 UTC |