Forums > Jitter

include image file in runtime

Jul 14 2010 | 9:37 pm


I want to make a runtime with this patch.
It needs a an image file of my own, .jpg format.

I built a collective and specifyed the path of the file.
When I launch the runtime patch the image seems not to be there.

No error message in max window.
Can anyone give help.


MBP 2.8GHZ 4Go 1067MHz DDR3 9400M+9600MGT
MaxMSPJitter 5.1.4

-- Pasted Max Patch, click to expand. --


  1. my_file.jpg


Jul 15 2010 | 8:15 pm

is the .jpg in the folder with the collective? When you tell the collective to "include file" it doesn’t actually embed it, it saves a reference to it. So ensure that the jpg is in the same folder as your .maxpat, then when you make the collective (and save it in another folder maybe), put a copy of the jpg into that folder after you’ve made the collective.

You can also embed the image right into the patch with fpic, or by using Edit–>Paste Picture. But maybe you’re using the image differently (like having the user load it) so that wouldn’t work for you.

I still think there are some inconsistencies with how the Include File/Include Folder options work when making standalones, it seems like some types of files need to be included to be found, others don’t… if the object references an image file, say, then the Collective maker grabs it automatically, but in other cases where you might think it would, it doesn’t.

the docs are pretty detailed, but I definitely have had some strange results when I thought I was doing things right, and it’s had numerous threads on here, so maybe some more insight would be helpful. Then again, probably I just need to test things more carefully :)

Jul 16 2010 | 9:20 am

Hi Seejayjames, thanks for all that.

I surprised about:
"When you tell the collective to "include file" it doesn’t actually embed it, it saves a reference to it. "

I told the collective to include a folder with a lot of .aiff. Then the runtime doesn’t need the source folder to find the soundfiles: they seem well embed inside the runtime patch.

So indeed, the behaviour of files included in standalone … ???

Jul 17 2010 | 1:02 pm

I need to do some more testing in a systematic way, to clear up my fuzziness with this. I’ve generally had to make several attempts with various settings to get everything to work (getting all the files found etc., even if they’re in the same folder as the standalone, they may or may not be found). Also want to see where included files are put, if they are always in the same spot (Support folder)?

Anyway, this is probably too rambling for the Forum, will do some testing when I can and if there are any obvious gotchas I’ll post them. Though my testing would only be for Windows.

Viewing 4 posts - 1 through 4 (of 4 total)

Forums > Jitter