[PD] pixelize in GEM

B. Bogart ben at ekran.org
Thu Sep 22 16:13:08 CEST 2005


Woops,

pix_crop is what you want, pix_resize just scales to 2^x.

b.

Andrei R. Thomaz wrote:
> hello wolfgand, bogart and list,
>
> 1) I couldn't use pix_resize several times: it works only once (that is,
> i would like to resize a image using two or more pix_resize objects)
> 2) I tried the pix_set and pix_dump solution, but I think my patch has
> some problemas. Please, give a look.
>
> thanks,
> andrei
>
> wolfgang schwarzenbrunner wrote:
>
>> hi...
>>
>> for a quiet rough pixelization you could use a pix_dump and pix_set
>> combination.
>>
>> regards
>> wolfgang
>>
>> At 13:49 22.09.2005, Andrei R. Thomaz wrote:
>>
>>> hello list,
>>>
>>> is there an object that applies the pixelize effect to a pix_imagem,
>>> in gem? The object more close to that I found is pix_dot, but it
>>> isn't, exactly, what I am looking for.
>>>
>>> thanks,
>>> andrei
>>>
>>> --
>>> RGB Design Digital
>>> www.rgbdesigndigital.com.br
>>>
>>> andrei at rgbdesigndigital.com.br / (51) 92067436
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> PD-list at iem.at mailing list
>>> UNSUBSCRIBE and account-management ->
>>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>>
>>
>
>
>
> ------------------------------------------------------------------------
>
> #N canvas 242 23 760 503 10;
> #X obj 164 363 pix_texture;
> #X msg 92 297 quality 0;
> #X msg 94 325 quality 1;
> #X obj 164 394 square 3;
> #X obj 255 297 pix_dump;
> #X obj 183 330 pix_set 8 8;
> #X obj 164 394 square 3;
> #X msg 258 235 open \$1;
> #X obj 258 212 openpanel;
> #X obj 248 178 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
> -1;
> #X obj 16 15 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577
> 0;
> #N canvas 0 0 452 302 gemwin 0;
> #X obj 132 136 gemwin;
> #X obj 67 89 outlet;
> #X obj 67 10 inlet;
> #X obj 67 41 route create;
> #X msg 67 70 set destroy;
> #X msg 142 68 set create;
> #X msg 132 112 create \, 1;
> #X msg 198 112 destroy;
> #X connect 2 0 3 0;
> #X connect 3 0 4 0;
> #X connect 3 0 6 0;
> #X connect 3 1 5 0;
> #X connect 3 1 7 0;
> #X connect 4 0 1 0;
> #X connect 5 0 1 0;
> #X connect 6 0 0 0;
> #X connect 7 0 0 0;
> #X restore 21 54 pd gemwin;
> #X msg 21 35 destroy;
> #X text 17 14 Create window:;
> #X obj 256 265 pix_image;
> #X obj 225 216 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
> -1;
> #X obj 176 30 gemhead;
> #X obj 300 330 print dump;
> #X msg 201 275 rgb;
> #X msg 201 251 rgba;
> #X msg 201 299 grey;
> #X obj 92 257 loadbang;
> #X msg 112 173 set 2 4;
> #X msg 109 195 set 1 1;
> #X connect 0 0 3 0;
> #X connect 1 0 0 0;
> #X connect 2 0 0 0;
> #X connect 4 0 5 1;
> #X connect 4 1 17 0;
> #X connect 5 0 0 0;
> #X connect 7 0 14 0;
> #X connect 8 0 7 0;
> #X connect 9 0 8 0;
> #X connect 11 0 12 0;
> #X connect 12 0 11 0;
> #X connect 14 0 4 0;
> #X connect 15 0 4 0;
> #X connect 16 0 0 0;
> #X connect 18 0 5 0;
> #X connect 19 0 5 0;
> #X connect 20 0 5 0;
> #X connect 21 0 1 0;
> #X connect 22 0 5 0;
> #X connect 23 0 5 0;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20050922/438a0554/attachment.pgp>


More information about the Pd-list mailing list