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

João Pais jmmmpais at gmail.com
Mon Apr 30 19:31:24 CEST 2018


check out [jmmmp/pix2canvas] if you want to convert an image into  
individual canvas "pixels", all pd-native (not advised for big formats)

Joao

> 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