Jump to content
Sign in to follow this  
tamagogi

Edit pdf text

Recommended Posts

tamagogi

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 by tamagogi

Share this post


Link to post
Share on other sites
martin

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

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.


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.

Share this post


Link to post
Share on other sites
trancexx

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

Share this post


Link to post
Share on other sites
tamagogi

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

Share this post


Link to post
Share on other sites
trancexx

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

Cool.

Very likely we talk about different things.


♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.