[PD] read a pixel value

Mathieu Bouchard matju at artengine.ca
Tue Jun 24 19:13:12 CEST 2008

On Tue, 24 Jun 2008, Claude Heiland-Allen wrote:

>> I've been looking for an object that can do that, but I haven't found it
>> yet, do you know
>> a way to do that?, maybe with gem?
> gridflow/examples/photo_pianoroll.pd

and generally speaking, [#store] is the equivalent of [pix_data].

You send to it the coords of the pixel you want, as a pair of numbers, or 
of the pixel component you want, using a triplet of numbers, or of the 
image row you want, as a list of a single number.

Or you can do any of these repeatedly with different position, by 
packaging several coordinates in a bigger message, as a package deal for 
getting several pixels at once. You can even make [#store] build a new 
picture for you by picking pixels like that... [#remap_image] is some kind 
of meta-abstraction based on that idea and on [#store].

  _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal, Québec

More information about the Pd-list mailing list