Hello,
I would like to make a diaporama using pictures from internet, for example directly from google images...
The best thing would be the ability to define the research of pictures...
I really don't know which objects i can use on the internet point of the pd patch (connection to the site, reaserach on the site, download of pictures ....)
Thanks to help me on this point...
Découvrez le blog Eragon sur Windows Live Spaces! http://eragon-heroic-fantasy.spaces.live.com/
In Gem, try [pix_image].
.hc
On Dec 6, 2006, at 11:31 AM, aurélien Bourdier wrote:
Hello,
I would like to make a diaporama using pictures from internet, for
example directly from google images...The best thing would be the ability to define the research of
pictures...I really don't know which objects i can use on the internet point
of the pd patch (connection to the site, reaserach on the site,
download of pictures ....)Thanks to help me on this point...
Découvrez le blog Eragon sur Windows Live Spaces! http://eragon- heroic-fantasy.spaces.live.com/
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
If you are not part of the solution, you are part of the
problem. - Eldridge Cleaver
In the abstract, I would think you might be able to use [shell] which would in turn run wget or curl to send the proper HTML POST data to Google images (or another site) for example, then you can just use the wget or curl program to download the images to a local folder which could be then loaded using [pix_image] to paint on a [rectangle] or some such. Just an idea. I might have a crack at this later.
./d5
On Dec 6, 2006, at 1:55 PM, Hans-Christoph Steiner wrote:
In Gem, try [pix_image].
.hc
On Dec 6, 2006, at 11:31 AM, aurélien Bourdier wrote:
Hello,
I would like to make a diaporama using pictures from internet, for example directly from google images...
The best thing would be the ability to define the research of pictures...
I really don't know which objects i can use on the internet point of the pd patch (connection to the site, reaserach on the site, download of pictures ....)
Thanks to help me on this point...
point of the pd patch (connection to the site, reaserach on the site,
download of pictures ....)Thanks to help me on this point...
Maybe GEM isn't what you need, I'm just guessing, but have you tried [image]. It can load any normal .gif into a Pd patch. I use it to make lecture slides. You could make pictures be linkable (or start arbitary code like launching a browser to a URL) by putting hidden bang buttons on them.
Btw, is there a technique anyone knows to use an invisible canvas or something else to pick up mouse clicks within an image?
On Thu, 2006-12-07 at 10:29 +0000, padawan12 wrote:
Btw, is there a technique anyone knows to use an invisible canvas or something else to pick up mouse clicks within an image?
create first a hslider with the same dimensions as the image and set the sendsymbol, then place [image <your pix>] over it, so that only the image is visible. now you can receive mouseclicks with [r <sendsymbol>]. is that what you are looking for?
roman
___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de
Hi,
aurélien Bourdier wrote:
I really don't know which objects i can use on the internet point of the pd patch (connection to the site, reaserach on the site, download of pictures ....)
There is nothing native in PD that will fetch things from the internet, only things to display the images. However, with the [shell] object you could launch Bash scripts, Python or whatever else you feel like using to scan websites and collect images. Then you could use PD to manipulate what these scripts pull in for you. I'm sure if you Google around, you can probably find some example scripts which do the kind of web-spidering you want.
best, derek
I use following script to retrieve images from google on my webpage. Take a look, maybe it'll need some hacking. It chooses a random word from a dict (unix dict format, each word on new line), retrieves a google images result for this word, greps the urls and saves the images (filename is the md5sum of parent url). Maybe it'll help. Input to pd via [netsend] would be the simple piece of code.
[http://popcorp.org/data/getGoogleImg.tgz]
Dne středa 06 prosinec 2006 17:31 aurélien Bourdier napsal(a):
Hello,
I would like to make a diaporama using pictures from internet, for example directly from google images...
The best thing would be the ability to define the research of pictures...
I really don't know which objects i can use on the internet point of the pd patch (connection to the site, reaserach on the site, download of pictures ....)
Thanks to help me on this point...
Découvrez le blog Eragon sur Windows Live Spaces! http://eragon-heroic-fantasy.spaces.live.com/
Jozef Henzl a ĂŠcrit :
I use following script to retrieve images from google on my webpage. Take a look, maybe it'll need some hacking. It chooses a random word from a dict (unix dict format, each word on new line), retrieves a google images result for this word, greps the urls and saves the images (filename is the md5sum of parent url). Maybe it'll help. Input to pd via [netsend] would be the simple piece of code.
[http://popcorp.org/data/getGoogleImg.tgz]
Dne støeda 06 prosinec 2006 17:31 aurÊlien Bourdier napsal(a):
Hello,
I would like to make a diaporama using pictures from internet, for example directly from google images...
The best thing would be the ability to define the research of pictures...
I really don't know which objects i can use on the internet point of the pd patch (connection to the site, reaserach on the site, download of pictures ....)
Thanks to help me on this point...
Hello, Thank for the python script, I've started a little tkinter application with it, it's attached. you will need tgrill/pyext, and pil python library, tkinter and other libs are incuded in python24
http://www.pythonware.com/products/pil/
Please let me know about any advice for improving it. Patco
Patco a ĂŠcrit :
Jozef Henzl a ĂŠcrit :
I use following script to retrieve images from google on my webpage.
Hello,
I would like to make a diaporama using pictures from internet, for example directly from google images...
The best thing would be the ability to define the research of pictures...
I've started a little tkinter application with it, it's attached. you will need tgrill/pyext, and pil python library, tkinter and other libs are incuded in python24
http://www.pythonware.com/products/pil/
Please let me know about any advice for improving it.
I've improved the script, now it's fonctionnal with gem, many tricks still need to be added, like image size, it might also be possible to grab pictures from any URL the script is able to read, and put the gem controls into the tkinter app... Best, patco.
___________________________________________________________________________ DÊcouvrez une nouvelle façon d'obtenir des rÊponses à toutes vos questions ! Profitez des connaissances, des opinions et des expÊriences des internautes sur Yahoo! Questions/RÊponses http://fr.answers.yahoo.com
Patco a ĂŠcrit :
Jozef Henzl a ĂŠcrit :
I use following script to retrieve images from google on my webpage.
Hello,
I would like to make a diaporama using pictures from internet, for example directly from google images...
The best thing would be the ability to define the research of pictures...
I've started a little tkinter application with it, it's attached. you will need tgrill/pyext, and pil python library, tkinter and other libs are incuded in python24
http://www.pythonware.com/products/pil/
Please let me know about any advice for improving it.
I've improved the script, now it's fonctionnal with gem, many tricks still need to be added, like image size, it might also be possible to grab pictures from any URL the script is able to read, and put the gem controls into the tkinter app... Best, patco.
Patco a ĂŠcrit :
Please let me know about any advice for improving it.
In attached version, something weird is happening, Gem doesn't seem to like tkinter, is that happening anywhere else? PS1: win users, unzip in pd dir, run imagespy.bat, fix eventual missing libs (py, Gem). PS2:Sorry for multipost...