[Automator] Render PDF Pages as Images problem

Hi,
I'm using an Automator Action called "Render PDF Pages as Images". It is not working properly. I've also tried one called "Change Types if Images" with the same results. The problem is both of these actions will create an image, but they won't put it anywhere other than a temp directory. With the second action, if I do it on an image file like a jpg, it will convert the image and put it in the directory the file exist in. I have a bunch of PDFs that are really just scanned images that I need to convert to TIFF and I want to automate it. It is frustrating that the actions are not working as documented. Both are supposed to render the change on the existing file in the location it exists and neither is work that way when run against a PDF.
Any help would be appreciated.

Christopher Stumpf wrote:
It's really simple.
It's a service item and it contains just one of the actions I've already listed. They are supposed to change the existing file to the desired type, in place.
no, they are not supposed to do that. they don't say anything of the sort in their descriptions. moreover, this is completely impossible if a pdf file has several pages. I just tried it and it works just fine. I passed a multipage pdf to the action "render pdf pages as images" and it made a number of separate pdf files - one for each page, as it should according to the description. they are temp files, yes. so you just need to follow it by the action to copy (or move files) and then by "rename finder items".
my workflow:
1. get specified (or selected) finder items.
2. render pdf pages as images.
3. move finder items
3. rename finder items.
Message was edited by: V.K.

Similar Messages

  • Render PDF Pages As Images - File names are gibberish

    I have a workflow that takes a folder of PDF's and converts them to JPG's.
    The problem is that Automator is giving the converted files random gibberish filenames such as Kft56Fvg.jpeg and not the names of the original files.
    Anyone know what's going on?

    At the bottom of the list of actions in Automator is an area with the description of the selected action in the listing (but not the workflow). If this description isn't visible, there is a button at the bottom of the window near the bottom left corner of the window for revealing the description.
    If you need to see the description of an action that is in the workflow on the right side of the window, there is a button on the action itself at its bottom left that will reveal the description of the action. This is so you won't have to find it again in the listing just to review its description.
    For you're immediate convenience and peace of mind, this is the description you'll find for "Render PDF Pages as Images":
    ---- Begin description ----
    This action will render each page of the passed PDF files as images.
    Note: As the names of the resulting images are randomly generated, this action is often followed by the Rename Finder Items > Make Sequential action.
    Input: PDF files
    Options: Image format, color model, resolution, and compression
    Result: (Image files) References to the rendered image files.
    ---- End description ----
    Since a PDF can contain many pages, this action could produce many images from the same PDF. So, that could further complicate naming the new images when multiple PDFs are involved if you need special names.

  • Automator: Render PDF as Images changes the filename.

    I have a PDF named "Bamboo Cutting Board Sales Sheet.pdf" that contains one image.
    When I run the PDF through the Automator action Render PDF As Images, the filename is saved and changed to "002ddf334.jpg.
    How do I keep the original file name?

    I see. 
    This worked when I tested on 1 PDF:
    The Run Shell Script Action is:
    basename=${1##*/}
    echo ${basename%.*}
    If it's still out of order, add: Sort Finder Items [by creation date] after Render PDF Pages as Images

  • Automator: render pdf to images

    I am taking a folder of pdf files all named numerically in the order they should be in and rendering them to images using the automator "render pdf to images."
    This outputs the images with completly random names. Even using the "Rename Finder Items" as suggested right after the Render pdf to images still does not produce images in the right order.
    This is really frustrating as I can't even see how this function could be useful for anyone if it can't produce images with some kind of logical file names.
    Does anyone have experience with this?
    Message was edited by: Jessek

    Not sure what the testers of some of these actions were thinking about, but you might try using the Dispense Item Incrementally action to step through your file list one at a time.

  • Convert PDF Page to Image format

    Is there any way to convert PDF page to Image formats (like JPG, GIF...)?
    I am looking in iTextSharp. If there are other options also, please let me know.

    There is a sample included with the Acrobat SDK that shows how to perform conversions of PDFs to other formats. There are also other options available to plug-ins such as PDPageDrawContentsToMemory() and then using an image library of your choice to save the bitmap data into various image formats.
    > I am looking in iTextSharp
    This is the Acrobat SDK forum - for questions regarding coding using the Acrobat SDK. Have you considered asking this in an iTextSharp forum if you are limiting yourself to that product?

  • How to preserve original filename in Automator 'render pdf as images'?

    Using Automator's 'render pdf as images' will result in output of files in random names
    What are the correct workflow if the desired output files would be the original filename? Ex: manual.pdf ---> manual.jpg, manual.pdf ---> 0001bU.jpg
    PS: I have tried 'Rename Finder Items--->Make sequential' but it still doesnt produce the desired output, it only makes manual.pdf ---> 0001bU-01.jpg

    You convert the CMYK document to RGB using standard color management. The rest is beside the point. We know nothing about your experience in 3D nor your actual artwork, settings, system and so on. Just slapping on a texture on a 3D model doesn't make it look "real" or even photo-realistic. You have to understand lighting, shading and how to prepare textures properly, stuff for which you can find any number of tutorials on the web (though not specifically for PS 3D).
    Mylenium

  • I am using windows 7 64 bit. when a pdf link is opend from any website the touch pad does not work vertically on websites but only on pdf page but no problem in internet exproler

    oftenly i need to open pdf documents online from diffrent web site but every time touch pad does work properly on pdf page but not on web pages already opened(vertically). i open same files and web pages with internet exproler but fuctioning smooth

    Many thanks.
    With those symptoms, I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • Why can't I import succefully .doc files in Pages? (Images problem)

    Hi!
    I bought pages for iPad a week ago and I have a problem!
    I have PDF files that I convert to .doc/.docx fils with adobe acrobat pro.
    I upload these files to iCloud, and I load them from Pages.
    And then images are totally messed up!
    See by yourself (Just look at the pages 2/3):
    Original PDF :
    https://docs.google.com/leaf?id=0B_8bp9n_TsBzMjcxYzk0OTctMjZjMy00ZjhmLWIzYjgtOTl lNmFlMjE4NDBi&sort=name&layout=list&pid=0B_8bp9n_TsBzMzIyNGE0Y2MtYzdlZC00OTc0LTl iZDQtMTFhNmM4MzE4Yjg0&cindex=4
    .docx file (Big!) :
    https://docs.google.com/leaf?id=0B_8bp9n_TsBzYjg5OWFmYjItYWE1YS00MTZiLTljMjYtODU 2YTJiZDZhMjlm&sort=name&layout=list&pid=0B_8bp9n_TsBzMzIyNGE0Y2MtYzdlZC00OTc0LTl iZDQtMTFhNmM4MzE4Yjg0&cindex=2
    pdf of the .docx file after Pages :
    https://docs.google.com/leaf?id=0B_8bp9n_TsBzNmEwNGU4NjItZWMwYi00MjQzLTkwNDAtNDY 2MWFhNTJiZGI3&sort=name&layout=list&pid=0B_8bp9n_TsBzMzIyNGE0Y2MtYzdlZC00OTc0LTl iZDQtMTFhNmM4MzE4Yjg0&cindex=3
    I also saved .docx in compatibility mode in Word!
    Can someone help me?

    Fixed by editing Acrobat settings to export as doc (especially removing OCR!)

  • Unable to save PDF. Parsing image problem.

    I'm getting the following error:
         "The document could not be saved. Expected 'EI' while parsing an image."
    I'm using Acrobat XI.

    Hi Simon,
    How are you saving the file (right click or from File menu)?  Does the problem happen with any PDF file?  Does the problem go away if  you turn "Enable Protected Mode at startup" from Reader (Preferences > Security (Enhanced)?

  • Render PDF to Image and Mail

    I have been trying save the following workflow as a Folder Action Plug-in:
    1. Render PDF Pages as Images (To produce a jpeg of a PDF)
    2. New Mail Message (To create an e-mail with the jpeg attached)
    3. Send Outgoing Messages (To send the e-mail)
    When I test the folder, the system appears to skip the Render PDF step and goes straight to creating and sending the e-mail without an attachment. If I save the workflow as an Application it will work, but not as a Folder Action Plug-in. Any idea why not?

    I once posted a VI to create PNG files from LaTeX commands where I used Ghostscript to convert from eps to png.  It turns out, with only a very minor modification the subVI will also convert PDF to PNG.  Try this out.  You can install Ghostcript and then add the path to gswin32c.exe to the path control (if you install to the default location you shouldn't have to change anything other than drive letter).
     http://pages.cs.wisc.edu/~ghost/
    Attachments:
    EPStoPNG.vi ‏38 KB

  • Automator - When using the Render PDF as Image action, the first file is out of order (naming).  How can I fix this?

    I am creating an Automator Action to render PDF files as Images.  When the PDF is multiple pages, the first page has no numbers, so it ends up at the end of the list.  Here's an example:
    When it is a single page, the result is:
    filename.png
    When it is multiple pages, the result is:
    filename 141.png
    filename 142.png
    filename 143.png
    filename 144.png
    filename.png
    First, it always seems to start at 141...not sure why.
    Second, I did try to add an action to rename and make sequential, however the resulting list was in the same order... except with additional numbers at the end.
    Any suggestions?

    I see. 
    This worked when I tested on 1 PDF:
    The Run Shell Script Action is:
    basename=${1##*/}
    echo ${basename%.*}
    If it's still out of order, add: Sort Finder Items [by creation date] after Render PDF Pages as Images

  • Firefox printing to Adobe PDF saves pages as images

    I like to save articles / webpages as PDF. The printer that i am using is the standard PDF printer that comes with Adobe Acrobat Professional version 9.4
    Firefox prints to PDF pages as image files, whereas Internet Explorer etc is able to print pages as simple PDF where text etc can be selected.
    Previous to this, i was having a huge problem in printing to PDF. I tried other PDF printers with the the same issue. The PC would just freeze etc if i tried to print to PDF from Firefox version 3.6 etc.
    The PC is an Core i7 950 3.0GHZ with 6GB RAM, so not really an old PC.

    I had the same problem. Here's how to fix it:
    Go to "about:config", set "gfx.direct2d.disabled" to "true"

  • How to export antialiased images of PDF pages?

    Hello all:
    I recently upgraded to Acrobat XI, and I am surprised to see that you STILL cannot export (or Save As) PDF pages to images that are ANTIALIASED!? Does anyone have a simple answer for this that doesn't involve a workflow of more than 5 steps? This is so headslappingly obvious a need that I'm at a loss for what Adobe's engineers are thinking when programming the Save As Image functions...
    I posted this question all the way back in 2009 (see post at http://forums.adobe.com/message/2411677#2411677), and still the answer is the same: when Acrobat saves pages as TIF or JPEG files, they are ALIASED. Who would want that? Who?! WHY?
    It's simply exasperating that Adobe does not include a tiny, little check box that says "Antialiased" in the "Save As TIF / JPEG Settings" dialog box where you set all kinds of parameters like resolution and colorspace....If the exporting process would just include antialiasing, you could set the resolution you desire and YOU'RE DONE.
    But, as far as I can tell, you still have to perform some kind of gymnastic routine like:
    Open the PDF and select all the desired page thumbnails to export.
    Right-click and choose Extract Pages. Make sure to check "Extract Pages as Separate Files."
    Export all the separate PDFs for each desired page into a folder somewhere.
    Open Photoshop and start recording an Action.
    Open one of the PDFs and specify the desired resolution.
    Save it in a desired location in an image file of your choice (TIF/JPEG).
    Stop recording the Action.
    Delete the resulting image you made of the test PDF page to avoid an overwriting error later when running the batch (or check box to overwrite in batch dialog).
    Run the Action in Batch mode on the entire folder of separate PDF pages.
    This is preposterous.
    Adobe, please get the simple things right for everyday low-level users before adding feature bloat to Acrobat with each passing version. Please.

    Hi Dave: Good points about reducing feature bloat and installer footprint taking priority for most users...
    However, if, as you say:
    Acrobat and Adobe Reader are developed as a standalone product family....
    Ultimately, since you can get an AA bitmap of a PDF file by just opening it in Photoshop etc., there is very little commercial demand for Adobe to include that feature in Acrobat.
    then, those people who do not have Photoshop (because AA is designed to be standalone, right?) cannot access antialiasing in exporting PDF images at all! Your point is exactly my point.
    If there is so little demand, then why include Export to Image functionality at all? Just eliminate it completely to save installer footprint space!....But, then, I'm sure you realize people would complain about that immediately, no? So, again, why include it at all when it's only able to export aliased images which virtually nobody is going to want? That's very passive-aggressive toward's Adobe's users. Nobody really benefits from half-baked features only begrudgingly included in software to placate the vocal minority of users who would otherwise miss it. I realize this isn't a huge issue for most users, but I think this points to a larger mentality within Adobe and the software industry in general....
    There is a huge number of people working in corporations that own legacy versions of AA who have not and will not likely subscribe to Creative Cloud! (e.g.: The 100-person architecture/engineering firm I worked at for 10 years had one copy of Photoshop on a community graphics workstation and made everyone use a sign-up sheet to access it.)
    Also, it's nice in theory that PDFs are supposed to be a print format. But, many many times, AA users have to make images (for PowerPoint, blogs, client portals etc.) from PDFs that they did not originally create and do not have the source files to recreate or export as images from their originating software. PDF export to images from Acrobat is their only choice without access to Photoshop.
    And, if AA is truly designed to be a stand-alone product, untethered from the capabilities of the entire suite of functionality across Creative Cloud apps, then a modular plug-in approach to controlling feature bloat would be more appropriate, no?
    For example, AutoCAD is a giant, sprawling application for technical drawing. And AutoDesk has recognized over the years that AutoCAD is used by many industries, each with special needs unneccesary to other industries' user base. So, they've created add-on packs of plug-ins that transform vanilla AutoCAD into AutoCAD for Architecture, Civil Engineering, Electrical Engineering, Bridge Design, Home Building, etc....see where I'm going?
    And Adobe has a far larger installed user base for Acrobat than AutoDesk does for AutoCAD! How about plugins like AA for Technical Publishing, AA for 3D modeling, AA for Presentations?...

  • All of a sudden I have problems printing web pages wwith Firefox 3.6.8 (XP), but printing pdf pages is still fine (printing with other software as well)

    Suddenly I can't print web pages with Firefox 3.6.8 anymore, but pdf pages pose no problem - the same applies to printing with any other software

    Thanks edmeister for your trouble!
    I guess I should have written that I had tried the tips on 'reset printer' and 'does not print to paper at all' before I posted the question - to no avail.
    The printer starts as normal: it's the right printer selected, the dialogue window shows the progress of sending the data to the printer - and after that: that's it. It simply vanishes from the queue, and nothing happens.

  • Automator for PDF merge with variable

    Hi - very new to automator, but now very motivated to find a solution to this annoying problem.
    I have to scan expense receipts each week and upload them 1 by 1 into a client time & expense system. I don't think Automator can help me with this one.
    A second system requires all the expense receipts to be merged into a PDF and a 3rd copy emailed to an approver.
    This is what I would like automator to do:
    From my Expenses folder, where all my individual PDF's are located
    I select all my distinct PDF's for a particular week
    Using an automator service, right click style
    Using 'Ask for Text', I would enter the "Week of"
    My selected PDF's are merged into 1 PDF, with the name = "Week of <VAR>"
    Mail starts (can't figure out how to use Gmail in a browser in Automator)
    Creates a message to the approver guy with the merged attachment from #5 above
    Sends the message
    Quits Mail
    I can get the automator to run without the variables trick...but it really would save a lot of time if I could just key it in once (instead of #filename, #email subject, #body of the message).
    I also tried looking up the UUID for the variable and inserting it into the email body and subject line - but it didn't take.
    Can anyone help with this?
    Many thanks
    bforeste

    Can't help you with automator, but you can create an app with the applescript below that will do what you want.
    Procedure:
    1. Open the Applescript Editor by typing Apples in the spotlight search field and hitting 'return' on your keyboard.
    2. Copy the entire script below and paste it into the Editor window.
    3. Hit 'Command-K' on the keyboard and ensure there are no compiler errors. If there are, please look at the script and see if one part of it was highlighted. Report back what part of the script was highlighted and any error messages.
    If the compile didn't produce an error, then:
    4. Hit 'Command-S' on the keyboard, choose a snazzy name ("PDF merger" or something...) and a location to save it in (your Apps or Desktop folders).  Be sure to change the 'File Format:' to Application at the bottom of the Save screen before hitting 'Save'.
    5. The first time you run the app (you run it by double-clicking on it, like any other App), you'll be asked to put in the details manually. On subsequent runs, it will fill in the defaults for you. I haven't set up the default locations for looking and searching for the files as I'm not sure where they would be on your system. I can do that if you tell me the path from your 'home' or user directory.
    Also note, I've written the script so that it doesn't send the message until you've reviewed it. i.e., you might want to double check you've attached the correct file, or add a message. If you want it to send automatically without review change the following lines near the end of the script:
    change the line 'set visible to true' to 'set visible to false'
    change the line 'save' to 'send'
    property defaultFolder : ""
    property msgSubject : ""
    property theRecipient : ""
    property theWeeklyname : ""
    property outputFile : ""
    getInfo()
    mergePDFS()
    sendMail()
    on getInfo()
              display dialog "Type the recipient's email address: " default answer theRecipient
              set theRecipient to the text returned of the result
              delay 0.25
              display dialog "Set the subject of the message: " default answer msgSubject
              set msgSubject to the text returned of the result
    end getInfo
    on mergePDFS()
              display dialog "Please choose the files to merge…" default button "OK"
              set inputFiles to choose file of type "PDF" with multiple selections allowed without invisibles
              delay 0.25
              display dialog "Please choose a folder to save the merged PDF…" default button "OK"
              set outputFolder to choose folder
              delay 0.25
              display dialog "Type the name of the combined pdf (without the .pdf extension): " default answer theWeeklyname
              set theWeeklyname to text returned of the result
              set outputFile to (outputFolder as text) & theWeeklyname & "(" & (count of inputFiles) & ").pdf"
              set pdfFiles to ""
              repeat with p in inputFiles
                        set pdfFiles to pdfFiles & " " & quoted form of POSIX path of p
              end repeat
              do shell script "/System/Library/Automator/Combine\\ PDF\\ Pages.action/Contents/Resources/join.py " & "-o " & quoted form of POSIX path of outputFile & pdfFiles
              return outputFile as alias
    end mergePDFS
    on sendMail()
              tell application "Finder"
                        set theAttachment to outputFile as alias
              end tell
              tell application "Mail"
                        set newMessage to make new outgoing message with properties {subject:msgSubject, content:"" & return & return}
                        tell newMessage
                                  set visible to true
      make new to recipient at end of to recipients with properties {address:theRecipient}
                                  tell content
      make new attachment with properties {file name:theAttachment} at after the last paragraph
                                  end tell
      save
                        end tell
              end tell
    end sendMail

Maybe you are looking for

  • Time Machine error -1, cannot access sparsebundle (but not a NAS or WD problem)

    Hello, this is my first post here, so I'll try to make it a good one!  I've been wrestling with this problem ever since I bought my Core i7 iMac (SSD + 1TB HD)   over a year ago.  I have not gotten Time Machine to work during that whole time.  Well,

  • Cannot burn a CD in 6.5.2

    I finally got the newest version of iTunes installed, and everything seems to work, except for burning CD's. I keep getting the Burn failure error #4251. And, I removed my other burning software, so I dont think its a conflict between the two. And, I

  • IMac programs keep crashing.

    Hello, I really don't know what to do anymore with this. I bought this mac May 2009. Since a few months (about 2, shortly after I installed Adobe CS4 I think) random programs have been crashing on my iMac. It seemed to be just Adobe programs at the b

  • ABOUT NOKIA X6-16GB TECH. INFORMATION

    WOULD ANYBODY TELL ME WHAT IS THE PROCESSOR & RAM USED FOR X6-16GB

  • [SOLVED :)]How do I record error messages to post to the forum?

    My setup:     Win 7 running Arch on VBox     Arch networking is set up and working     Nothing installed except for vim, links, + many packages included at install Issue:    Having trouble installing xorg-server (etc, stuff needed for GUI) So I have