If you are a heavy reader like myself who love to read books and downloads a lot of digitally scanned books (because of the unavailability of the purchase option :D) then you might have encounter this problem when you download that great book and you just want to read it on your kindle or on your tablet and you find that the person who scanned it just scanned 2 pages in the same image which makes it really difficult to read using any reading device.
The solution for this is to export the images that are combined in the book e.g. PDF to .jpg images in an empty folder and use photoshop automation to split the images and then recreate the book using adobe acrobat again using the split images.
In this post I’ll explain how this can be done in details.
Setting up the folders for image splitting:
1-Create a folder named “Raw” that folder will contain the exported images from the initial PDF file
2-Create a folder named “temp” that folder will contain the images after splitting and these images will be used to reconstruct the PDF file.
Exporting the book images into a folder:
1- Open the book using Adobe Acrobat.
2- From the top menus select “File” > “Save As” > “Image” > “JPEG”
3- Select the location to save the images (The raw folder) and click OK.
Creating Photoshop Actions:
What we will do here is to create and record a Photoshop action that will open the images and split them and save them to the specified directory
2-Open one of the images to split
3-Open the actions view (“Window” > “Actions”)
4- Click on “Create new Action ” button
5- Name the action “Split and Save”
6- Start recording the action
7- From the menu bar select “Image” > “Duplicate” (this will be the left side image)
8- repeat step 7 again (this will be the right side image) you should now have 3 identical images open of the same pages
9-with the 3rd image selected choose “Image” > “Canvas Size”
10- Enter change the width unit into “percent” and enter 50% for the width field and make sure you have the anchor point set to the right side of the image.
11- This will crop the image to the right half which contains the page on the right.
12- Select the second image and repeat step number 10 but this time make the anchor on the left side.
13- Now you have an image with the right side and another with the left side.
14- Switch to the first image which was not cropped yet and close it
15- Select the left side image then select “File” > “Save As” and save it in the empty folder you created before then close the image.
16- Repeat step number 15 for the last open image.
17- On the actions menu click stop recording you should have an action like the following image.
18- Select “File” > “Automate” >”Batch”
19- in the “Play” section choose “Split and Save” in the action field.
20- In the “Source” section choose “Folder” then click on the “Choose” button and navigate to the “Raw” folder you created earlier.
21-In the “Destination” section select “Folder” and then click on the “Choose” button and naviga to the “temp” folder you created earlier. Make sure the option “Override Save As” is checked.
22- Now click on “OK” and watch the images being open and split automatically for you
23- When splitting is done open Adobe Acrobat and choose “Create PDF” >”Combine files into single PDF” then choose the temp folder containing the split images and then click ok.
Now you have a new book with only one page that is suitable for your reader.