Some photos got accidentally deleted from my iPhone. I have them in a backup from the last time I connected my iPhone to my MacBookPro, but I don't want to restore the entire phone just for some photos.
The backups are stored in database files, typically in the following location
with one sub folder per backup. In the folder you'll find tons of .mddata and .mdinfo files. Somewhere in there are the deleted photos.
There are scripts around to help you extract what you want, but I found an application called "iPhone / iPod Touch Backup Extractor" and you can get it from supercrazyawesome.com
Launch the program and then click 'Read Backups'
It then reads the contents of ~/Library/Application Support/MobileSync/Backup and gives yu a list of backups you can restore from.
Select one, and it reads the backup. If you want to restore photos, scroll to the bottom and select 'iPhone OS Files'
Then click Extract, and you'll be prompted for a restore location
Let it do its thing. Depending on how much you've got in there it could take a while, and the program doesn't give any indication of progress. Have a coffee or a tea, and relax.
When its done, navigate to where you restored the files, and you'll see the folders
and in there are your photos.