in reply to Tk:Photo -data with binary data?
I don'treally know anything about Tk, but the problem intrigued me ... one thing i noticed is that when i went looking for info about Tk_CreatePhotoImageFormat mentioned as the method for registering image format handlers, I found this man page which indicates that the image format handlers are expected to provide seperate sets of functions for dealing with string data vs file data...
...presumably this is so the handler can use an optimised method for getting the data out of the string or file if it knows a shortcut, but it seems silly to me. Either way: it leads me to suspect that maybe the image format handlers in Perl/Tk only support base64 encoded data in their stringMatchProc ... who knows what the stringReadProc does.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Tk:Photo -data with binary data?
by BrowserUk (Patriarch) on Nov 29, 2006 at 11:07 UTC | |
by vkon (Curate) on Nov 29, 2006 at 11:59 UTC |