I quickly did a small script (mac only, sorry...) to capture all pages of a pdf and stores the pictures as png on disk:
Quote:
set locationToSave to (choose folder with prompt "Choose where to save the screenshots")
set NEXTARROW to ASCII character of 29
tell application "System Events"
tell application "Adobe Reader 7.0.5" to activate
set frontmost to true
keystroke "l" using command down
delay 4
repeat with counter from 1 to 10000
delay 1
do shell script "screencapture '" & POSIX path of locationToSave & "/screen" & (text -5 thru -1 of ("00000" & counter)) & ".png'"
keystroke NEXTARROW
set result to (name of processes) contains "Adobe Reader"
if not (result) then
exit repeat
end if
end repeat
keystroke "l" using command down
end tell
|
All you have to do, is to open Adobe reader, and open the pdf you want and select the first page. Then run this script:
- It will ask for a directory where to store all pictures
- It will then swap Adobe Reader into full-screen mode
- And then iterates over all pages and does screen-shots, one page after the other with a 1 sec delay (depending on CPU of machine and complexity of PDF, the Adobe Reader needs max approx 1 second to display correctly...)
The current limitation is, that this script will not automatically stop at the end

, so to stop capturing, you manually have to quit Adobe Reader (command-q) then the script will stop.
After that you can load all pictures into
Combine PDF (a free software to combine PDFs, but it also can combine pictures and stores them as PDF). Of course you could also first pre-process the images and remove the black border around every image (e.g. with GraphicConverter) or you can just crop the resulting PDF at the end.
Please note, this script should not be used for illegal activities, it's just meant for DRM-pdfs you own, therefore I guess it would be illegal to distribute the produced PDFs. In any case, the resulting PDF are just "pictures", so it's a bit the same as I would go to the library and photo-copy a book (which is legal, at least here in my country...)