[PD] [pix_data] - convert rgb values to pd canvas format

IOhannes m zmölnig zmoelnig at iem.at
Mon Jan 11 23:07:43 CET 2016


On 01/11/2016 10:54 PM, Olivier Baudu wrote:
>  I've lost a of of time to
> convert RGB output from [pix_data] for them to work with canevas...

for what it is worth: all the help-patches for the iemguis include a
subpatch that will turn a set of RGB values (0..255) into that weird
color-format.
so the conversion between [pix_data] and canvas-colors should be mostly
copy-and-paste.

> But, it works with pd-extended, not vanilla+GEM only...

i wonder why...and see that you are using [once], [repeat] and [counter]
[once] and [counter] should be trivial to replace by tiny subpatches.
and [repeat] can be replaced by [until] in this specific usecase.

fmarsd
IOhannes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20160111/ef24fa1a/attachment.sig>


More information about the Pd-list mailing list