Well since you havent specified if you are going to do it programmatically or by a help of 3rd party software. I may not cover all the issues that you ask for.
So if you need a software there are some free softwares that will help you to accomplish that. Check the links to see available softwares;
PDF Image Extractr[
^]
Some PDF Image Extract[
^]
A-PDF Tools[
^]
If you need to do it programmaticallyhere are some examples. Since I dont know which language you are using the links provide examples of C#;
You can do it by the help of iTextSharp library.
Example 1[
^]
Example 2[
^]
Example 3[
^]
Good luck.