[PD] accessing mysql database

Tina Shah surreal8 at hotmail.com
Wed Mar 8 08:25:29 CET 2006


Hi, still trying to get used to pd/gem so i've got a couple newbie 
questions:
1.  How do I get average color info of an image?  Basically I want to 
analyze an image and get the most prominent color.  I saw some patches like 
pix_set, dump, histo, but I'm not sure if they are the right ones...  I 
really only want one value, or one RGBA value.
2.  I would like to store this value in a mysql database.  How do I get pd 
to send data to a mysql database?  I'm so new at all this I really don't 
know where to start...  Once I get a bunch of values in a database, I will 
want to compare the values of a current image with values in the database.  
I have looked through the lists at a bunch of things like pool, pd 
container, osc, postgresql, but I am just getting more confused.  I really 
am just looking for a basic tutorial that will teach me how to get pd to 
send/receive data from a mysql database.

Any help would be GREATLY appreciated.  Thanks!

-T






More information about the Pd-list mailing list