DeJPEG is a utility designed to quickly extract JPG images from PDFs, Word files, Excel files and pretty much everything else.
Most reviewers of the software point out that whether it works on a given file is more or less hit or miss, but if you run into a situation where you have a large number of images you need to extract from a file, this may be worth giving a shot.