[PD] Display image inside graph-on-parent window?

oliver oliver at klingt.org
Mon Apr 30 13:58:22 CEST 2018


William Huston wrote:
> Is there a way to display an image inside graph-on-parent window?
> 
> Is there a way to display an arbitrary image of common filetypes (gif, 
> jpeg, png, tif) on a canvas?
> 
> I've checked the list archives.
> I tried [image] but couldn't get it to work.

here's my approach at this, a customized knob:

http://klingt.org/fileservice/downloads/08135152508907130-ol_knob_300418.zip

it needs some extrernals, but they are all mentioned in the helpfile

unfortunately it's limited to gifs (a Tcl/Tk restriction, it seems) and 
not sizeable ;-(

> 
> I can't seem to type a Windows-MSDOS style pathname
> which contains backslashes... I get "Keycode 92 dropped".
> (How annoying! is there a good reason for this?)

this issue has been raised many times. to be honest i didn't really 
understand the reasons either, but i am not a coder and i think we have 
to live with it.

the good news is: you don't need the backslash inside PD.
all read/write messages work with slashes under windows !

(working with batch files called from PD (via motex' [system] external) 
is a different beast ...)

best

oliver




More information about the Pd-list mailing list