PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I want to make a motion detector with PHP. The script will simply open jpg images and look for major changes from one image to the next. I know how to write the motion detection functions, but I can't figure out how to open a jpg and convert it to a format that I can work with. I can do bin2hex using the code below, but then I just get a long string. How can I then seperate the individual pixels? Thanks in advance.