I need to write an external for LiveCode in C++, but I doubt my ability to do it.

Simon simon at asato-media.com
Sun Mar 6 20:23:12 EST 2016


Jonathan Lynch wrote
> ...but it still requires looking at every single pixel and checking to
> see if the colors are within a certain range.

I'm way out of my league here but...
Doesn't lossy jpeg compression make assumptions about 2 pixels next to each
other?
(pseudo)
if pixel 1,1 = green 
skip pixel 1,2
is pixel 1,3 green
etc.
That would increase the speed by lots I'd think.
Of course it is lossy.

Simon



--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/I-need-to-write-an-external-for-LiveCode-in-C-but-I-doubt-my-ability-to-do-it-tp4702071p4702079.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the Use-livecode mailing list