[PD] Gem: resizing a pix smaller

Ian Smith-Heisters heisters at 0x09.com
Tue Apr 19 01:23:42 CEST 2005


That's *really* good to know, and it wasn't in the helpfile last time I 
was there... hint, hint.

-Ian

IOhannes m zmoelnig wrote:
> IOhannes m zmoelnig wrote:
> 
>> Martin Dupras wrote:
>>
>>> I need to take the output of pix_video and reduce the resolution 
>>> considerably, to something like 16 x 12. Can anyone suggest a 
>>> reasonable way to do that?
>>
>>
>>
>> this has been on my todo-list for ages ;-(
>>
> oh, and i forgot to mention:
> you should be already able to do this with [pix_resize];
> if you don't give any arguments, it will enlarge an image to have a 
> 2^n-size. (e.g. a 200x100 image will be resized to 256x128)
> however, you can give arguments to define another size, e.g.:
> [pix_resize 16 12] will resize the image to guess what...
> note however that this uses gluScaleImage() which might bot be the 
> fastest algorithm in the world.... (probably not a problem when 
> downsampling)
> 
> mfg.asd.r
> IOhannes
> 
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list





More information about the Pd-list mailing list