Pictures

Mar 30, 2006 at 10:54pm

Pictures

I’m trying to load a 476KB JPEG file into a picture based control object, and when I press open in the Get Info window, Max closes and no error messages appear. What in the name of goats cheese is going on?

This is the patch, it works fine with a simpler image:

max v2;
#N vpatcher 15 55 1077 762;
#P button 137 54 15 0;
#P window setfont “Sans Serif” 9.;
#P number 138 157 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 140 106 15 0;
#P window linecount 1;
#N counter 0 3;
#X flags 0 0;
#P newobj 140 128 66 9109513 counter 0 3;
#P newex 140 81 55 9109513 metro 1000;
#P user pictctrl 135 180 228 228 “K:/Year 3/Dm3P24 Final Audio Systems Project/Pictures/Record/Vinyl.JPG” 0 0 1 2 26 0 0 0 382 383 4 0 1 4 2 0 1 270;
#P user pictctrl 572 176 142 126 0 0 0 0 26 0 0 0 0 0 128 0 1 10 2 0 1 270;
#P connect 5 0 1 0;
#P connect 3 0 5 0;
#P connect 6 0 2 0;
#P connect 2 0 4 0;
#P connect 4 0 3 0;
#P pop;

#25159
Mar 30, 2006 at 11:56pm

I believe on windows that the pictctrl width limit is 4096, which is
perhaps what you’re experiencing. We hope for this problem to be
removed in MaxMSP 5, but for the time being it is a limitation.
Alternately, you might be able to make a pictctrl like object in JSUI
which uses multiple images, instead of pictctrl.

-Joshua

#73740

You must be logged in to reply to this topic.