PHP Classes

Tried in on my file, blank page

Recommend this page to a friend!

      PHP PDF to Text  >  All threads  >  Tried in on my file, blank page  >  (Un) Subscribe thread alerts  
Subject:Tried in on my file, blank page
Summary:Didn't work on my file, work on ur sample file
Messages:6
Author:eveveve evevevev
Date:2017-03-10 14:48:11
 

  1. Tried in on my file, blank page   Reply   Report abuse  
Picture of eveveve evevevev eveveve evevevev - 2017-03-10 14:48:11
Hi,

I have installed this class and tried it, but I get a black page when trying to read my file. it did work with your sample file.

any idea why it's can't read my file ?

file cannot be read as text from class:

mgmtbook.com/admin/Videographer_RFP ...

thx!!

ev

  2. Re: Tried in on my file, blank page   Reply   Report abuse  
Picture of Christian Vigh Christian Vigh - 2017-03-10 14:59:35 - In reply to message 1 from eveveve evevevev
Hi,

Unfortunately, I cannot download the file from your link because it is asking me for a user/password.

Could you please send me the file at the following email :

christian.vigh@wuthering-bytes.com

Thanks !
Christian.

  3. Re: Tried in on my file, blank page   Reply   Report abuse  
Picture of eveveve evevevev eveveve evevevev - 2017-03-10 15:48:21 - In reply to message 2 from Christian Vigh
srry, emailed it. thx!

  4. Re: Tried in on my file, blank page   Reply   Report abuse  
Picture of Christian Vigh Christian Vigh - 2017-03-10 15:57:39 - In reply to message 3 from eveveve evevevev
I received your email, thanks.

The pdf file uses an encoding scheme for text that I did not have yet the opportunity to test ! this is a great occasion to me...

I will come back to you when a new version will be available.

Christian.

  5. Re: Tried in on my file, blank page   Reply   Report abuse  
Picture of eveveve evevevev eveveve evevevev - 2017-03-10 16:15:22 - In reply to message 4 from Christian Vigh
thx. i hope soon :)

meanwhile, I am not i have the required skill set to figure this out, but what should i be looking to tackle with this encoding ? if i will play with it a bit ...

thx!!

ev

  6. Re: Tried in on my file, blank page   Reply   Report abuse  
Picture of Christian Vigh Christian Vigh - 2017-03-11 17:57:24 - In reply to message 5 from eveveve evevevev
Hi,

Thanks for sending me a sample, it allowed me to fix the issue you had with version 1.4.11.

The text in Videographer_RFP.pdf now appears correctly ; the problem was due to an incorrect implementation of the ASCII85 decoding algorithm.

To answer your question, the principle of ASCII85 encoding is a little bit like base64 : it allows you to encode data so that it can go through a communication line that handles only 7-bit values.

I really thank you to have reported this issue ; so far, I was unable to test the ASCII85 decoding I had integrated in the PdfToText class, because I had no PDF file to exercize upon...

If you want more information about this encoding scheme, you can find it here :

en.wikipedia.org/wiki/Ascii85

There is also a site which gives additional information (and notably, about the ASCII85 encoding used by Adobe) but it is in french ; here is a link on "how to decode ascii85" :

dcode.fr/code-ascii-85#q2

Please feel free to contact me if you have any further issue or question.

With kind regards,
Christian.