Forums > Jitter

Changing a paintoval to an image file

September 20, 2011 | 4:43 pm

Hi, I was wondering if there was anyway to replace a paintoval into an image file in lcd? Each one’s location creates new volume level output?


September 20, 2011 | 5:38 pm

Double-click on the "p images" subpatch of the lcd.help file.

You can read about the ‘readpict’ and ‘drawpict’ messages in the reference manual.

http://www.cycling74.com/docs/max5/refpages/max-ref/lcd.html

(Contrary to what the manual implies, ‘readpict’ works with other image file formats besides .pct, a fact that is demonstrated in the help file.)


September 21, 2011 | 3:02 pm

I would like to replace the paintoval dots at the bottom of this patch with pictures – I can’t figure out how I might do it though. The p panel > p ovals is where I would guess I could do this but I’m having no luck at all…

Any help would be greatly appreciated in this specific context.


September 21, 2011 | 4:38 pm

Patch is attached


September 21, 2011 | 11:28 pm

read the reference linked above. then inside panel/ovals, do something like this:


September 21, 2011 | 11:30 pm

.


September 22, 2011 | 9:14 am

Great, thanks guys. All making sense – the read part was something I was missing… thanks again.
J


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