in reply to Convert JPEG to pixel intensity array

You can probably use GD. See especially the getPixel() and rgb() methods. Depending on what exactly you mean with "intensity" you might need to do some processing with the RGB values.

  • Comment on Re: Convert JPEG to pixel intensity array