ImageMagick fails to convert a PDF file (GhostScript can't find file?)

I was trying to convert a .pdf file into a .png file with imagemagick (here is the sample pdf file: http://ompldr.org/vY2ljcg ).
However, apparently ImageMagick already failed simply opening the file:
$ convert main.pdf main.png
Unrecoverable error: rangecheck in .putdeviceprops
sfopen: gs_parse_file_name failed.
./base/gsicc_manage.c:866: gsicc_open_search(): Could not find lab.icc
| ./psi/zusparam.c:856: set_lab_icc(): cannot find default lab icc profile
convert: Postscript delegate failed `main.pdf': No such file or directory @ error/pdf.c/ReadPDFImage/665.
convert: missing an image filename `main.png' @ error/convert.c/ConvertImageCommand/3016.
Any ideas?

put it this way. if all PDF creator produces only standard PDF, then ghostscript is fine. But most PDF creator don't (except Adobe Acrobat). So a compatible pdf reader need handle non-standard PDFs. It's a long-term boring maintaining job which need much human resource.
My impression is poppler's community is the most active one which means it has more volunteers to fix bugs.
I am familiar with all the open sourced PDF engines because I did PDF application for 3 years.
Last edited by redguardtoo (2012-01-30 06:04:58)

Similar Messages

  • How do i convert a pdf into an xls or csv file

    how do i convert a pdf into an xls or csv file   ? thnx

    HI newapiary
    You can either use Adobe Acrobat or Adobe ExportPDF Online Service.
    Please Refer : https://www.acrobat.com/exportpdf/en_GB/convert-pdf-to-word.html

  • HT1550 I'm having trouble with importing them into iTunes and converting them at the same time. when i hold down option over the files i can't find where its supposed to say create new version. is this if you're in iTunes?

    I'm having trouble with importing them into iTunes and converting them at the same time. when i hold down option over the files i can't find where its supposed to say create new version. is this if you're in iTunes?

    You can't do it in one step. Add to iTunes first, Once the tracks are in iTunes you may convert to a different format.
    tt2

  • Can not find file must locate each song one at a time need to restore my whole library

    can not find file, must locate each song one at a time need to restore my whole library

    Hello BadSteve,
    It sounds like iTunes seems to have lost track of all your music and you must locate each file individually. I would recommend at this point that you check for 3rd party plugins to see if there are any causing an issue:
    iTunes: Troubleshooting issues with third-party iTunes plug-ins
    http://support.apple.com/kb/ts3430
    If the issue persists after removing the plugins, I would next try recreating your iTunes library:
    iTunes: How to re-create your iTunes library and playlists
    http://support.apple.com/kb/ht1451
    Thank you for using Apple Support Communities.
    Regards,
    Sterling

  • I am trying to install itunes 10.5.1 but it can't find file IXP609.TMP where can i get this

    i am trying to install itunes 10.5.1 but it can't find file IXP609.TMP so stopping the upgrade.   how do i upgrade itunes?  I tried uninstalling but it can't find another file 389 so I can neither uninstall nor reinstall.  Any thoughts please?

    Hi Rick,
    by "repair" I mean I went to the control panel, option - programs and features, and in the list of all my installed programs I selected "Apple Software Update". On top of the screen you find the options Uinstall, Change and Repair. I clicked the repair button and that did the trick. After the repair I could uninstall the program. I also uninstalled iTunes, Apple Application Support, Apple Mobile Device Support en Bonjour, thus all Apple programs. Then I installed iTunes 10.5 again and everything went fine.
    Success,
    Peter

  • SEVERE: null : Can't find file '/WEB-INF/tiles-defs.xml'

    I'm trying to get Tiles to work with Struts on my server. I'm running a local instance of Tomcat v5.5. Development environment is Eclipse. I"ve looked everywhere on the web and can't find any solutions that work. I've been working on this for several days now. It shouldn't be this hard...
    I appreciate any help or suggestions people might have. I would really like to get beyond the configuration $#!^ and start coding.
    Thanks in advance!!!
    Jim
    Here are snippets from the pertinent files:
    web.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
         <display-name>
         admin</display-name>
         <welcome-file-list>
              <welcome-file>index.html</welcome-file>
              <welcome-file>index.htm</welcome-file>
              <welcome-file>index.jsp</welcome-file>
              <welcome-file>default.html</welcome-file>
              <welcome-file>default.htm</welcome-file>
              <welcome-file>default.jsp</welcome-file>
         </welcome-file-list>
         <servlet>
              <servlet-name>action</servlet-name>
              <servlet-class>
                   org.apache.struts.action.ActionServlet
              </servlet-class>
              <init-param>
                   <param-name>config</param-name>
                   <param-value>/WEB-INF/struts-config.xml</param-value>
              </init-param>
              <load-on-startup>1</load-on-startup>
         </servlet>
         <servlet-mapping>
              <servlet-name>action</servlet-name>
              <url-pattern>*.do</url-pattern>          
         </servlet-mapping>
         <jsp-config>
              <taglib>
                   <taglib-uri>struts-bean</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/struts-bean.tld</taglib-location>
              </taglib>
              <taglib>
                   <taglib-uri>struts-logic</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/struts-logic.tld</taglib-location>
              </taglib>
              <taglib>
                   <taglib-uri>struts-html</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/struts-html.tld</taglib-location>
              </taglib>
              <taglib>
                   <taglib-uri>struts-tiles</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/struts-tiles.tld</taglib-location>
              </taglib>
              <!-- The following tag library info was added for JSTL libraries. -->
              <taglib>
                   <taglib-uri>http://java.sun.com/jstl/fmt</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/fmt.tld</taglib-location>
              </taglib>
              <taglib>
                   <taglib-uri>http://java.sun.com/jstl/fmt-rt</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/fmt-rt.tld</taglib-location>
              </taglib>
              <taglib>
                   <taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/c.tld</taglib-location>
              </taglib>
              <taglib>
                   <taglib-uri>http://java.sun.com/jstl/core-rt</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/c-rt.tld</taglib-location>
              </taglib>
              <taglib>
                   <taglib-uri>http://java.sun.com/jstl/sql</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/sql.tld</taglib-location>
              </taglib>
              <taglib>
                   <taglib-uri>http://java.sun.com/jstl/sql-rt</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/sql-rt.tld</taglib-location>
              </taglib>
              <taglib>
                   <taglib-uri>http://java.sun.com/jstl/x</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/x.tld</taglib-location>
              </taglib>
              <taglib>
                   <taglib-uri>http://java.sun.com/jstl/x-rt</taglib-uri>
                   <taglib-location>/WEB-INF/tlds/x-rt.tld</taglib-location>
              </taglib>
         </jsp-config>
    </web-app>
    struts-config.xml:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
    "/WEB-INF/dtds/struts-config_1_2.dtd">
    <struts-config>
         <!-- ============================================ Data Source Configuration -->
         <data-sources />
         <!-- ================================================ Form Bean Definitions -->
         <form-beans>
         </form-beans>
         <!-- ========================================= Global Exception Definitions -->
         <global-exceptions />
         <!-- =========================================== Global Forward Definitions -->
         <global-forwards />
         <!-- =========================================== Action Mapping Definitions -->
         <action-mappings>          
              <action path="/foobar" forward="/createAccount.jsp" />
         </action-mappings>
         <!--
         ============================================= Controller Configuration
         <controller contentType="text/html; charset=UTF-8" />
         ======================================== Message Resources Definitions
         <message-resources
              parameter="com.xilinx.web.registration.struts.res.ApplicationResources" />
         =============================================== Plug Ins Configuration -->
         <!--======================================================= Tiles plugin -->
         <!--
              This plugin initialize Tiles definition factory. This later can takes some
              parameters explained here after. The plugin first read parameters from
              web.xml, thenoverload them with parameters defined here. All parameters
              are optional.
              The plugin should be declared in each struts-config file.
              - definitions-config: (optional)
              Specify configuration file names. There can be several comma
              separated file names (default: ?? )
              - moduleAware: (optional - struts1.1)
              Specify if the Tiles definition factory is module aware. If true
              (default), there will be one factory for each Struts module.
              If false, there will be one common factory for all module. In this
              later case, it is still needed to declare one plugin per module.
              The factory will be initialized with parameters found in the first
              initialized plugin (generally the one associated with the default
              module).
              true : One factory per module. (default)
              false : one single shared factory for all modules
              - definitions-parser-validate: (optional)
              Specify if xml parser should validate the Tiles configuration file.
              true : validate. DTD should be specified in file header (default)
              false : no validation
              Paths found in Tiles definitions are relative to the main context.
         -->
              <plug-in className="org.apache.struts.tiles.TilesPlugin" >
              <set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml" />
              <set-property property="definitions-debug" value="2" />
              <set-property property="definitions-parser-details" value="2" />
              <set-property property="definitions-parser-validate" value="true" />
              </plug-in>
         <!-- =================================================== Validator plugin
         <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
              <set-property property="pathnames"
                   value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml" />
         </plug-in>
         -->
    </struts-config>
    tiles-defs.xml (in the WEB-INF directory as are the other xml files...):
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN"     
                                                 "http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd">
    <tiles-definitions>
         <definition name="Tiles.register" page="/tiles/template.jsp">
              <put name="header" value="/tiles/header.jsp" />          
              <put name="body" value="/register.jsp" />
              <put name="footer" value="/tiles/footer.jsp" />
         </definition>
    </tiles-definitions>
    Console output when starting the server:
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
    Jul 7, 2006 11:36:41 AM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    Jul 7, 2006 11:36:43 AM org.apache.struts.tiles.xmlDefinition.I18nFactorySet initFactory
    SEVERE: null : Can't find file '/WEB-INF/tiles-defs.xml'
    Jul 7, 2006 11:36:43 AM org.apache.struts.tiles.TilesPlugin initDefinitionsFactory
    SEVERE: Can't create Tiles definition factory for module ''.
    Jul 7, 2006 11:36:43 AM org.apache.struts.action.ActionServlet init
    SEVERE: Unable to initialize Struts ActionServlet due to an unexpected exception or error thrown, so marking the servlet as unavailable. Most likely, this is due to an incorrect or missing library dependency.
    javax.servlet.ServletException: null : Can't find file '/WEB-INF/tiles-defs.xml'
         at org.apache.struts.tiles.TilesPlugin.initDefinitionsFactory(TilesPlugin.java:233)
         at org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:137)
         at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
         at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
         at javax.servlet.GenericServlet.init(GenericServlet.java:211)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4201)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
         at org.apache.catalina.core.StandardService.start(StandardService.java:450)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
    Jul 7, 2006 11:36:43 AM org.apache.catalina.core.ApplicationContext log
    INFO: Marking servlet action as unavailable
    Jul 7, 2006 11:36:43 AM org.apache.catalina.core.StandardContext loadOnStartup
    SEVERE: Servlet /admin threw load() exception
    javax.servlet.UnavailableException: null : Can't find file '/WEB-INF/tiles-defs.xml'
    I have the following jars in my Web App Libraries (WEB-INF/lib):
    standard.jar
    commons-fileupload.jar
    antlr.jar
    struts.jar
    commons-beanutils.jar
    commons-logging.jar
    commons-validator.jar
    myswl-connector-java-3.1.12-bin.jar
    struts-el.jar
    jstl.jar
    commons-digester.jar
    Struts is version: 1.2.9.
    JRE / JDK: 1.5.0_06 (Program files shows I have JRE 1.5.0_05 in the tree as well)
    Note: Struts will work if I comment out the tiles plug-in in the struts-config.xml file.

    you don�t call o files-defs.xml in jsp?

  • I get itunes can't find file when I tried to play a TV show I had purchased that was supposed to be in the cloud. There are several of these, including an entire season. In the store it shows that I purchased these shows when I checked them.

    I get itunes can't find file when I tried to play a TV show I had purchased. I then checked and had this problem with an entire TV season I had purchesed. The shows were supposed to be in the cloud. I went to the itunes store, went to the tv shows and they showed that I had purchesed them. They do not show up when I click on purchesed in the store.

    Try this...
    Empty/corrupt library after upgrade/crash
    Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping. In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
    See iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
    When you get it all working make a backup!
    tt2

  • Getting the error "Adobe Send cannot currently send this file" how can I find out why?

    Getting the error "Adobe Send cannot currently send this file" how can I find out why?

    Hey James,
    Please let me know what kind of file are you trying to send using 'Adobe Send' online service.
    Does this happen with every file you try to send or any specific one?
    Have you tried using a different browser? What happens? Check with your internet connection speed as well.
    Hope to hear from you.
    Regards,
    Anubha

  • Where does time machine store content that would be found in the Finder window under "All Images, All Movies, All Documents"? Also, I have many Garageband projects and mp3 files I can't find.

    Where does time machine store content that would be found in the Finder window under "All Images, All Movies, All Documents"? Also, I have many Garageband projects and mp3 files I can't find.

    Easiest way to find time machine files is to open up the folder or application(works for email and iphoto)  they were in - then click on time machine ICON or enter time machine from the time machine menu to go back through the files.

  • I am using Garageband and saving my tunes as iTunes files but can´t find them in iTunes on my computer after syncing. Where are they?

    I am using Garageband and saving my tunes as iTunes files but can´t find them in iTunes on my computer after syncing. Where are they?

    My answer in the older thread is still valid
    Maybe the "iTunes Music" folder is hidden.
    Please open Terminal and issue the following command
    ls -ladO /epoche/Music/iTunes/iTunes\ Music
    you should get a line similar to this
    drwxrwxrwx  13 yourusername  staff  hidden 442 12 Mar 21:49 /epoche/Music/iTunes/iTunes Music
    Numbers, date and time may differ.
    If you see hidden then the folder is hidden. To unhide "iTunes Music", in Terminal issue the following command
    chflags nohidden /epoche/Music/iTunes/iTunes\ Music

  • Where can i find my mavericks install file, i can not find it in my program map, what shall i do if the file has being erased?

    Where can i find my mavericks install file, i can not find it in my program map, what shall i do if the file has being erased?

    If you download it again, you can make a bootable USB stick to install using this free program.
    Bootable USB Flash Drive – Diskmaker X

  • Upgraded to 6.01 & "can't find file" appears

    I upgraded to Ilife 6 and DVD made in V4 open with the message "can't find file". I upgraded to 6.01 and still have this message. How do you fix this problem.
    thanks,

    teit:
    You're getting that message because iDVD uses links to iPhoto's library folder system for the photos in the iDVD project. Since V6 has changed that folder system iDVD has lost it's links and cannot find the files. Unless you only have one or two files to re-link, doing it manually is impossible. iDVD 6.0.1 was supposed to fix that problem but apparently not for you. At this point, you may not be able to recover the project unless you have a backup copy of your V4 library that you can put in the Pictures folder for iDVD to find and use.

  • Trying to export RAW originals from Aperature 3 to LightRoom 4: I choose File Export Originals. I think then Pictures LR. But then I can't find files in LR library.Files seem stuck in Pictures as NEF

    Trying to export RAW originals from Aperature 3 to LightRoom 4: I choose File>Export>Originals. Then Pictures>LR. But then I can't find files in LR library.Files seem stuck in Pictures as NEF and or DNG files. I know Im stuck on something dumb but I am stuck. Help?

    You now need to import those files into Lightroom.
    BTW, Lightroom uses a "referenced" system so your images will always be in the folders you download/copy them to. Lightroom is a database first and foremost, albeit with non-destructive editing capabilities (effectively Adobe Camera Raw).

  • Can't find file to sync photos - why not?!?

    I recently re-organised my photos on my PC & changed the file location for the photos to sync to my iPod. I reconnected the iPod & it went through to organise the photos in a new photo cache as I would expect...but then when it went to actually move the pictures onto the iPod, I get told 'can't find file' and so it does not sync
    I can see the pics in the cache, the location of the photos on iTunes is right, but they don't seem to talk to each other & so nothing happens
    anyone seen this before or have any suggestions??
    thanks
    Ian

    ok one more question
    The file syncing issue now seems to be resolved & the ipod connects to the PC without too much argument now
    the only outstanding issue is that I have seom videos within my pictures. Previously these existed within the Pictures folder, but I could still play them
    However now this doesn't happen & in the Pictures folder I just get the first frame of the video, without being able to play them. I don't know why suddenly it won't play them
    They are all in mp4 format. as most are home videos I wanted to keep them in the Pictures folder rather than move them into the official Videos section
    thanks

  • HT1451 I am trying to restore my playlists that disappeared yesterday. I have followed these instructions but when I get to step 7, I can't find File Library Import playlist. What am I missing?

    I am trying to restore my playlists that disappeared yesterday. I have followed the instrutions on the support page but when I get to step 7, I can't find File>Library>Import Playlists. What am I missing?

    I suspect the menus have changeed slightly since that document was written...
    Empty/corrupt library after upgrade/crash
    Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping.  Note that in iTunes 11 an "empty" library may show your past purchases with links to stream or download them.
    In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
    Alternatively, depending on exactly when and why the library went missing, there may be a more recent .tmp file in the main iTunes folder that can be copied & renamed as iTunes Library.itl to restore the library to an earlier state. Look for a recent .tmp file that is similar in size to the .itl files in the Previous iTunes Libraries folder. If it has happened repeatedly you may want the earliest such file generated since the last iTunes upgrade.
    If applicable, see iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
    When you get it all working make a backup!
    Should you be in the unfortunate position where you are no longer able to access your original library, or a backup of it, then see Recover your iTunes library from your iPod or iOS device.
    I've noticed more of these missing library posts of late and a common factor to most since I started asking is AVG Anti-Virus. It seems in some cases it might be at least part of the reason why the library file disappears. Try excluding the iTunes folder from any AV scanning process.
    tt2

Maybe you are looking for

  • Can't get menu to work in brand new ipod classic.

         I cannot get the menu to say anything other than "video" at the top.  I can't get to where it says "music" on the menu.  I've reset 3 or 4 times, but it doesn't help.  I had it at first, but can't get it back. Help!

  • Macbook pro retina start to make loud fan noise and work slow

    I bought macbook pro retina display less than one years ago. For some reason my macbook pro has been making loud fan noise for about five mounth. Whenever macbook pro makes the noise, all the programs start to run slow. Typing, opening safari, and et

  • Flatten to sring doesn't work properly.

    Using LV8.20, found "flatten to string" function under 7.x function group. but it doesn't work properly in lv8.20. Is there a function "flatten to string" function in LV8? Thanks.

  • Mouse wheel event coordinates issue in LV2013

    I realized some unexpected behavior when using the mouse wheel event of an XYGraph: The event contains the mouse coordinates which should be relative to the origin of the pane according to the LabVIEW help (see Mouse Wheel (Control Event)). In my cas

  • Managing the mail service for WebCenter Spaces

    I need to setup the mail service in WebCenter Spaces and could use some assistance. I have a standalone Linux DEV box that has WebCenter 11.1.1.2 installed. I have Documents, Discussions, wikis+blogs all working in this instance. Now, I need to confi