tamagogi Posted October 15, 2009 Share Posted October 15, 2009 (edited) Can I modify a pdf text? I hav an uncompressed pdf and I want replace same string inside it. Is there an UDF library to editing pdf files? Thanks and sorry for my english Edited October 15, 2009 by tamagogi Link to comment Share on other sites More sharing options...
martin Posted October 15, 2009 Share Posted October 15, 2009 Can I modify a pdf text? I hav an uncompressed pdf and I want replace same string inside it. Is there an UDF library to editing pdf files?Thanks and sorry for my englishNot with AutoIt. You need some specialist software to convert pdf to text using ocr then recreate the pdf after it has been changed. There are lots of programs available. (They almost never mention that they use ocr though.)There are AutoIt UDFs for ocr, search for tesseract. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
trancexx Posted October 15, 2009 Share Posted October 15, 2009 Not with AutoIt. You need some specialist software to convert pdf to text using ocr then recreate the pdf after it has been changed. There are lots of programs available. (They almost never mention that they use ocr though.)There are AutoIt UDFs for ocr, search for tesseract.How very interesting. I didn't know that. Thanks for the info.Though... that's incredibly stupid considering that text portions within PDF file are easy to detect and extract. Only thing that's complex is uncompressing that data. If there is some api call available for LZW decompression the whole process of reading PDF files with AutoIt would be a piece of cake.OCR for that, oh my God, what a waste of resources ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
tamagogi Posted October 16, 2009 Author Share Posted October 16, 2009 I already uncompress data from file. My problem is insert new string in this file and save. I obtain a new file that is corrupted and it cannot read with acrobat reader Link to comment Share on other sites More sharing options...
trancexx Posted October 16, 2009 Share Posted October 16, 2009 I already uncompress data from file. My problem is insert new string in this file and save. I obtain a new file that is corrupted and it cannot read with acrobat readerCool.Very likely we talk about different things. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
jvanegmond Posted October 16, 2009 Share Posted October 16, 2009 There's isn't in AutoIt. Try with iText or iTextSharp. github.com/jvanegmond Link to comment Share on other sites More sharing options...
tamagogi Posted October 19, 2009 Author Share Posted October 19, 2009 Other help, please? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now