Página 1 de 1

need to get color of specific pixel of a jpg image

Publicado: 21 Ago 2015 21:14
por AlienTek
Hi everyone I need to be able to get a specific pixel color of an jpg image.

I tried using ssid's pixeledit.dll but it accumulates memory over a period of time if called on a timer like I need it to.

I am trying to compare the pixel color of 2 jpg images at the same x,y coordinates to see if they are relatively the same or not.

Any help would be muchly appreciated.
Thanks in advance.

Re: need to get color of specific pixel of a jpg image

Publicado: 22 Ago 2015 00:30
por Pabloko
use luagd or ship imagemagick

Re: need to get color of specific pixel of a jpg image

Publicado: 22 Ago 2015 20:54
por AlienTek
Hey thank you for the reply.

I have tried using image magick by calling it from the commandline, and it does exactly what I want except it is way to slow for what I need it for.

And I have been reading up on how to use luagd with autoplay media studio but just cant seem to figure it out.

Would you mind giving me a small example of how to use luagd with ams? Thats if you have the spare time.

Thanks again.