[Podofo-users] Incorrect character displacement

2017-08-03 Thread Dmitry Salychev
PdfFontMetrics. Am I missing something important during this string conversion? -- Kind regards, Dmitry Salychev darkness@gmail.com -- Check out the vibrant tech community on one of the world's most engag

Re: [Podofo-users] Viewing encrypted PDFs produces error

2017-11-05 Thread Dmitry Salychev
Hi, Alex. You're probably getting this error because of incorrect PDF files. You may check it there: https://www.pdf-online.com/osa/validate.aspx (I wasn't able to download your PDF files from that hosting for some reason). It's also probably a good idea to retrieve the latest 0.9.5 version of Po

Re: [Podofo-users] Github instead of SourceForge

2017-12-14 Thread Dmitry Salychev
Hi, Lack of time, probably. I'd prefer to see a roadmap of PoDoFo instead of tinkering with version control systems. Regards, - Dmitry -- Check out the vibrant tech community on one of the world's most engaging tech site

Re: [Podofo-users] Difference between PdfObject::GetReference() and PdfObject::Reference()

2018-01-13 Thread Dmitry Salychev
Hi, Georg. I'm not a developer of PoDoFo and don't know any details lying deep there. You may just take a look at the src/base/PdfObject.h and src/base/PdfVariant.h to understand the difference between these two functions: inline const PdfReference & Reference() const; inline const PdfRef

Re: [Podofo-users] Difference between PdfObject::GetReference() and PdfObject::Reference()

2018-01-16 Thread Dmitry Salychev
Georg, no problem (: It's nice that this code helped. Regards, - Dmitry -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot__

Re: [Podofo-users] Accessing the images of one page?

2018-02-21 Thread Dmitry Salychev
Hi, Olivier. (this is a copy of my previous reply which, for some reason, wasn't posted on the mailing list yesterday O_o) First of all, you've to know what kind of image you're going to access. They usually can be stored in a PDF file two ways: XObject image or inline one. Does it make any sense

Re: [Podofo-users] Accessing the images of one page?

2018-02-21 Thread Dmitry Salychev
Olivier, ah, I see. Anyway, your idea is to get any PDF file, scan it page by page and perform an action if there is a specific image (QR code) placed on any page. Am I correct? Regards, - Dmitry -- Check out the vibrant

Re: [Podofo-users] Accessing the images of one page?

2018-02-27 Thread Dmitry Salychev
Hi, Olivier. First of all, you've to know what kind of image you're going to access. They usually can be stored in a PDF file two ways: XObject image or inline one. Does it make any sense? Regards, - Dmitry -- Check out

Re: [Podofo-users] Accessing the images of one page?

2018-02-27 Thread Dmitry Salychev
Hi Matthew, Olivier, I agree about XObjects, but it's not so hard to deal with inline ones using tokenizer class. I already have it implemented for both types of images, but don't have enough time to prepare a good snippet. Give me several days and it'll be here :) Regards, - Dmitry

Re: [Podofo-users] Fwd: Testing email flow through sourceforge...

2018-03-01 Thread Dmitry Salychev
I've got these two. It probably works at the moment. Regards, - Dmitry -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot

Re: [Podofo-users] extract tiff from scanned pdf

2018-05-31 Thread Dmitry Salychev
Hi Martin, podofo mailing list doesn't look like an active place from my pov. If you're going to decode buffer using CCITT decoder, I've bad news for you. There is only a draft implementation of PdfCCITTFilter in PdfFiltersPrivate.cpp. You may notice that method to decode block isn't implemented

Re: [Podofo-users] Windows build on Podofo 0.9.5

2018-07-13 Thread Dmitry Salychev
Hello, Patrice. Your configuration seems a bit complicated to me. Why not to specify all of the required paths using CMake GUI and generate a VS project? Regards, Dmitry -- Check out the vibrant tech community on one of

[Podofo-users] Patch to process DecodeParms array

2018-07-23 Thread Dmitry Salychev
Hi guys. I've noticed that array form of "DecodeParms" entry in a stream dictionary cannot be processed even in the latest revision of PoDoFo. There is a patch attached to improve PdfFilterFactory::CreateDecodeStream a bit and assign selected dictionary from the array to a given filter according i

Re: [Podofo-users] Patch to process DecodeParms array

2018-08-15 Thread Dmitry Salychev
Hi guys. I didn't get any response and decided to remind about this patch. Do I need to change/fix it? Regards, Dmitry -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org!

Re: [Podofo-users] Help installing podofo

2018-10-01 Thread Dmitry Salychev
Hi Reynaldo. Podofo uses CMake to generate build files for different platforms. It means that you'll need a minimum 2.6 version installed. I don't use a MacPorts package manager on macOS, but Homebrew (https://brew.sh), so that's why I cannot give you exact commands to install dependencies. Howeve