*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
- void (*callback) (void *uiimage, const char *fn, void *closure);
+ void (*callback) (void *uiimage, const char *fn, int width, int height,
+ void *closure);
- d->callback (img, fn, d->closure);
+ d->callback (img, fn, [img size].width, [img size].height, d->closure);