Forums > Jitter

Manipulating a picture

September 22, 2008 | 8:44 pm

I am very new to max/msp + jitter, but have been playing around a little bit with it and I need help. What I would like to do is make a program where I can upload a picture file and then decide the number of colors and exactly what colors that picture can use. I want to play around with reducing the number of colors in a picture to make it more of a mosaic look. Any help would be greatly appreciated.


September 22, 2008 | 9:07 pm

firstly, check the tutorials, they cover this in a lot of ways. a
couple of tips: a mosaic look will come more from playing with the
pixel resolution of a picture than with the number of colors.
reducing the number of colors will result in more of what is know as
"posterization" – a breaking of the colors down into a series of flat
"zones." and away you go…
good luck
bruce

On Sep 22, 2008, at 4:44 PM, John OHearn wrote:

>
> I am very new to max/msp + jitter, but have been playing around a
> little bit with it and I need help. What I would like to do is make
> a program where I can upload a picture file and then decide the
> number of colors and exactly what colors that picture can use. I
> want to play around with reducing the number of colors in a picture
> to make it more of a mosaic look. Any help would be greatly
> appreciated.

bruce tovsky
http://www.skeletonhome.com

"Reality is whatever refuses to go away when I stop believing in it.."
Philip K. Dick


March 25, 2012 | 3:29 pm

The basic concept that I think you’re after is "downsampling" and "upsampling" to reduce the resolution, as shown in the example below. (It’s also discussed in Jitter Tutorial 14.)

There are many other more complicated ways to get a "mosaic"-like effect (and several Jitter objects to support them), but this is probably about the simplest way.

– Pasted Max Patch, click to expand. –

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