hi, I am using pix_alpha to convert a b/w jpg into an alpha map. but all I get is yellow or blue. this happens on osx with gem 0.91-csv (july29). marius.
hihi this happened to me with GEM and quicktime movies...still didnt figure out how to use alpha blending yet !
2007/10/1, marius schebella marius.schebella@gmail.com:
hi, I am using pix_alpha to convert a b/w jpg into an alpha map. but all I get is yellow or blue. this happens on osx with gem 0.91-csv (july29). marius.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
henrik wurster wrote:
hihi this happened to me with GEM and quicktime movies...still didnt figure out how to use alpha blending yet !
oh, for alpha blending you obviously need the data in a format that understands alpha! [pix_film] on os-x outputs YUV by default, where there is now alpha-channel, so you cannot apply an alpha-mask. make sure that you get your data in RGBA colorspace, either by sending the [pix_film] a [colorspace RGBA( message or explicitely by using [pix_rgba]
fgmasdr. IOhannes
even with pix_film and colorspace the pix_alpha is broken. what is the latest version of gem for mactel? i am using 0.91-cvs (july29). marius.
IOhannes m zmoelnig wrote:
henrik wurster wrote:
hihi this happened to me with GEM and quicktime movies...still didnt figure out how to use alpha blending yet !
oh, for alpha blending you obviously need the data in a format that understands alpha! [pix_film] on os-x outputs YUV by default, where there is now alpha-channel, so you cannot apply an alpha-mask. make sure that you get your data in RGBA colorspace, either by sending the [pix_film] a [colorspace RGBA( message or explicitely by using [pix_rgba]
fgmasdr. IOhannes
with the default settings of pix_alpha white stays white and black gets transformed according to the background. red changes to pink, green to teal and blues stays blue. if I change the first two inlets from (0, 1) which is the default to (1, 0) then white becomes transparent and black gets transformed: red and green become yello and blue becomes white. I think the default color scheme on mac is some yuv dialect, so I tried pix_rgba, but that did not change anything. marius.
IOhannes m zmoelnig wrote:
marius schebella wrote:
hi, I am using pix_alpha to convert a b/w jpg into an alpha map. but all I get is yellow or blue. this happens on osx with gem 0.91-csv (july29). marius.
i am not sure i understand what you mean: what get's yellow or blue? the b/w image??
fgma.sdr IOhannes