Changing a paintoval to an image file

Sep 20, 2011 at 4:43pm

Changing a paintoval to an image file

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?

#58957
Sep 20, 2011 at 5:38pm

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.)

#211809
Sep 21, 2011 at 3:02pm

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.

#211810
Sep 21, 2011 at 4:38pm

Patch is attached

#211811
Sep 21, 2011 at 11:28pm

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

#211812
Sep 21, 2011 at 11:30pm

.

#211813
Sep 22, 2011 at 9:14am

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

#211814

You must be logged in to reply to this topic.