<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
hi Alexandre,<br>
<br>
you'll find attached an example that you might want to try, it's called:<br>
mozaic_photo.pd<br>
<br>
you have to launch pd with dyn~, pyext and Gem libs.<br>
sorry, i did not find time to comment the python scripts (nor the pd
patchs btw).<br>
<br>
please notice that:<br>
- it uses imagemagick to compute image sizes. ("identify" command,
fast).<br>
- thus it needs some plumbing to work under windows.<br>
- choose a few images first (try to use lightweight pics), in
mozaic_photo.py change the rep at line 88:<br>
self.fphotos =
glob.glob('/data/urban_man/photos/pietons/pieton_rouge*.jpg')<br>
<br>
please let me know if you found it interesting, what pbs you
encountered, etc.<br>
best,<br>
vincent<br>
<br>
<br>
Alexandre Quessy wrote:
<blockquote cite="mid200512301744.53762.alex@sourcelibre.com"
type="cite">
<pre wrap="">Salut Vincent,
Oui, je serais intéressé par une telle patche. J'ai essayé pix_alpha sur des
pix_image, mais ça ne fonctionne pas toujours. On dirait que ça fonctionne
mieux sur des vidéos que sur des images. Très bizarre. Sinon, je n'ai rien
trouvé qui soit particulièrement "hot". Je mesure mes images avec PHP et
j'envois tout ça avec netreceive. Je pourrais le faire en Python, mais c'est
pour une conférence sur PHP que je vais donner... :-)
aalex
Le Décembre 29, 2005 06:06 AM, vincent rioux a écrit :
</pre>
<blockquote type="cite">
<pre wrap="">bonjour alex,
very quick answer, you might want to try a combination of
- pix_alpha and of course pix_image to display blended images. you will
then create an abstraction that holds all what you need for one image
(with 'receive' objects as arguments).
- dyn~ for creation of a variable number of pictures in your patchwork.
- pyext for the creation and configuration (position, size, etc.) of
each piece (via ._send method) - here you will have to go for something
completely different but it's easy.
if you are interested by this combination of objects, i could send you
some patchs i have bee using.
i noticed some difficulties to display some types of images (heavy
images or images with low or high w/h ratio), moreover i had some pbs
with their "initialization" (images are not drawn completely at first) -
desactivating/reactivating the gem window solved this pb.
a last point, if you want to make animations of still images, you should
defintely turn to pix_multiimage.
greetings,
vincent
Alexandre Quessy wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi !
I am looking for a way to combine many jpeg images with Gem in an
interesting way. Anyone has some experience to share ? I have several
files which I know their sizes, and I would like to change their size,
tranparency, to add pix_* effects, gradient map (not much posible
though), etc. on them. I might have 10 images at a time. I guess I should
use 10 rectangle on which I pix_texture my pix_image, right ? Any hint on
blending such pix_images ?
thanks !
</pre>
</blockquote>
<pre wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:PD-list@iem.at">PD-list@iem.at</a> mailing list
UNSUBSCRIBE and account-management ->
<a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
<br>
</body>
</html>