Here is a complete example of the kind of code you want to use: Code Sample
i tested it, it compiled ran and here's an example of the data it returned (ugly but proves the concept.)
RESULT:
Image: \Desktop\SouthSisterPanorama.jpg
Width= 5861, Height= 625
PixelFormat = Format24bppRgb
Dumping 2 property items:PropertyTagLuminanceTable
Type:PropertyTagTypeShort
Length:128
Values:
08 00 06 00 05 00 08 00 0C 00 14 00 1A 00 1F 00 ................
06 00 06 00 07 00 0A 00 0D 00 1D 00 1E 00 1C 00 ................
07 00 07 00 08 00 0C 00 14 00 1D 00 23 00 1C 00 ............#...
07 00 09 00 0B 00 0F 00 1A 00 2C 00 28 00 1F 00 ..........,.(...
09 00 0B 00 13 00 1C 00 22 00 37 00 34 00 27 00 ........".7.4.'.
0C 00 12 00 1C 00 20 00 29 00 34 00 39 00 2E 00 ...... .).4.9...
19 00 20 00 27 00 2C 00 34 00 3D 00 3C 00 33 00 .. .'.,.4.=.<.3.
24 00 2E 00 30 00 31 00 38 00 32 00 34 00 32 00 $...0.1.8.2.4.2.
PropertyTagChrominanceTable
Type:PropertyTagTypeShort
Length:128
Values:
09 00 09 00 0C 00 18 00 32 00 32 00 32 00 32 00 ........2.2.2.2.
09 00 0B 00 0D 00 21 00 32 00 32 00 32 00 32 00 ......!.2.2.2.2.
0C 00 0D 00 1C 00 32 00 32 00 32 00 32 00 32 00 ......2.2.2.2.2.
18 00 21 00 32 00 32 00 32 00 32 00 32 00 32 00 ..!.2.2.2.2.2.2.
32 00 32 00 32 00 32 00 32 00 32 00 32 00 32 00 2.2.2.2.2.2.2.2.
32 00 32 00 32 00 32 00 32 00 32 00 32 00 32 00 2.2.2.2.2.2.2.2.
32 00 32 00 32 00 32 00 32 00 32 00 32 00 32 00 2.2.2.2.2.2.2.2.
32 00 32 00 32 00 32 00 32 00 32 00 32 00 32 00 2.2.2.2.2.2.2.2.