building standalone application w/ jitter and tiff/png images

    Jan 02 2011 | 1:47 am
    hi there,
    i've been building a simple audio/visual interactive program which reads tiff and png files as video files (in objects), but when i go to build the actual application, for some reason the tiff and png files do not show up at all. everything else is there -- all the audio i've included -- but the images are no longer there.
    i'd rather use the image files as opposed to making 1 sec .mov files, since i'm also using a bunch of jit.pwindow objects, which are eating up a good amount of CPU (as well as dropping my frame rates all over the place).
    has anyone else run into this problem? building a standalone application in max/jitter, but for some reason the image files go missing?
    thanks, caroline

    • Jan 02 2011 | 2:27 am
      you need to manually include them in the folder after you make the standalone, they aren't packaged as part of it (like Flash does, for example). I'm not totally sure if you need to tell the Standalone builder window to "include file..." or "include folder...". Try it without doing that, and if still can't find the files, try "include folder..." when you build. Should solve the problem. (I think it makes a specific search path available to the Standalone, but it's still a little mysterious.)
      If you do a lot of switching between images, you'll have much quicker response time using jit.matrixset rather than, which in my experience has a brief lag when loading any file (even a single, small image file). jit.matrixset uses RAM to speed everything up.
    • Jan 02 2011 | 5:27 am
      thanks for responding so quickly! i really appreciate it -- although, it seems i'm unfortunately still stuck.
      earlier i tried both "include file..." and "include folder..." while building the application, which didn't seem to work.
      as per your advice, i've just tried manually putting the tiff files in the contents folder of the standalone -- which brings me to a couple more questions. is there a particular sub-folder i should be putting my tiff files in, and does the app actually read it as tiff, or should it be converted to some other file format in order to be read?
      i've also tried manually adding a search-path (with the tiff files) by going into the max collective (in the contents folder of the finished app) and going to >options >file preferences to add folders. after doing that, i tried launching the app again... and still no image files. :/
      it's interesting to see that finds .mov files just fine, but won't find any tiffs/pngs -- i'll try the jit.matrixset to see if that changes anything.
      seems like i'm missing something so small! thanks for your help -- moving somewhere is better than not moving at all!
    • Jan 02 2011 | 12:51 pm
      The file preferences won't affect the standalone, that's for the Max environment itself, as I understand it. So that won't help. You can make your own File Prefs to go with the standalone, but you shouldn't have to:
      "You can add additional locations to this list by checking the Utilize Search Path option in the standalone object's Inspector." (from Docs)
      This should do it, I think. Check the [standalone] object's Inspector and try the checkboxes, it should clear up several of your issues.
      Very interesting about finding the .mov and not the .tiff. Probably I've been making mistakes in the past, but it sure seems like Max has some strange issues with not finding files when you would really imagine it would. For the .tiff I think it'll read them fine (don't know about multi-page .tiff if you have them). I stick to .png, but hey.
      The jit.matrixset would save you hassle in one respect: you can store all your images within it, so it's just one big matrix file. Though it's probably just as easy to copy a folder of images around. the matrixset is most useful for fast switching/sequencing/loading.
    • Aug 05 2013 | 3:35 am
      Processing a project is too complicated for me. I used to choose a fine manual 3rd party TIFF processing SDK to help me read it and manipulate it. You can also google it and choose one whose way of processing is simple and fast. It can save a lot of time for you. I hope you success. Good luck.