Reading a JPEG file as numbers?
- To: mathgroup at smc.vnet.net
- Subject: [mg36084] Reading a JPEG file as numbers?
- From: AES <siegman at stanford.edu>
- Date: Wed, 21 Aug 2002 05:51:48 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Can anyone offer a quick recipe for how to read the RGB components in the file itself, as (preferably base 10 integer) numbers in an integber array, for each pixed of a small JPEG (or TIFF) image, using Mathematica or GraphicConverter? (Thanks much for any help. I could try to dig into and learn about JPEG formats, but I just need a quick look at a few images. Also, I know how to use the Mac DigitalColor Meter, but besides its being a bit awkward to use, I have the impression that it reads what is being put on the screen, not necessarily what's in the image file the screen may be displaying.)