[GEM-dev] get strange value from pix_snap/pix_grey/pix_dump

zmoelnig at iem.at zmoelnig at iem.at
Fri Mar 10 07:14:49 CET 2017


On 03/09/2017 10:38 PM, zmoelnig at iem.at wrote:
>> Le 09/03/2017 à 12:02, Jack a écrit :
>>> Hello,
>>>
>>> I would like to capture a framebuffer (colors are only black and white)
>>> with [pix_snap] and analyse it with [pix_dump]. So i use [pix_grey] to
>>> send only grey values to [pix_dump], but i get a weird result.
>>> See small patch attached grabing the default black window.
>>> Is it a bug or the expected behavior of these objects ?
>>> ++
>> GEM: ver: 0.93.git cb323f8
> 
> interesting.
> it works as expected with Gem-0.92
> 
> i'll try to investigate...
> 

fixed in git.
someone boggled precedences of pointer dereferencing and addition...

gfards
IOhannes


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20170310/9567277d/attachment.sig>


More information about the GEM-dev mailing list