![]() The application was unable to start correctly (0xc0000043). Later Edit: I actually did put that in C:\Windows\SysWOW64. Also, should the dll go in another location? Maybe in C:\Windows, or some program data folder?ĮDIT: I should also point out that I'm not even trying to do anything with Jpegs (at least I don't think I am!) It's the "Authors" and "Title" that I want to extract. Firstly, does my overall use of the code/script seem correct? Then I tried to recompile the script, but I'm getting the same error. I located a copy of the dll on line and put it here: C:\Program Files (x86)\ReNamer\xpdfbin-win-3.04\Jpeg8.dll. However when the preview is attempted, I get an error about jpeg8.dll missing. I see "XPDFscript" when I click the little lightning bolt. Iv'e never tried to do a script in ReNamer, but I'm guessing I add a "PascalScript" item. I also downloaded the xpdf zip, opened it, and put it here: C:\Program Files (x86)\ReNamer\xpdfbin-win-3.04. I downloaded the code here and saved it in/as C:\Program Files (x86)\ReNamer\Scripts\XPDFscript.pas. Thanks for the fast reply Dennis! Okay more questions now. Note2: I've put together a PDF Ready version of ReNamer, which is available from downloads section. As both tools update, this script may require minor changes. Note1: This has been done with ReNamer 5.10 beta, and pdfinfo.exe 3.02. ![]() You can change the tag name which you want to use by changing the PDF_TAG constant at the top of the script. Extract that tool and place it into ReNamer's folder. The package that we need is called Xpdf ( It has a command line tool pdfinfo.exe which we will use to extract the PDF tags. This way had already been used to read exif date from RAW images. Anyway, there is possibility of using a 3-rd party executable tool to extract the tags from PDF, and then with a help of PascalScript, use them within ReNamer. This is too big of a task, and there are no open source libraries for Delphi to parse PDFs. The problem is that extracting tags from PDF is no easy task, you'll nearly need to write an entire PDF parser to get that information.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |