Re: [Podofo-users] extract tiff from scanned pdf
thank you dimitry! i think it would be a valuable contribution since afaik scanners use tiff to save pictures to pdfs. I would be happy to return to podofo as soon as this is implemented, until then i am looking into https://mupdf.com, their image extract tool can handle tiffs and save them as pngs. martin Am 31.05.2018 um 18:58 schrieb 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 at all: void PdfCCITTFilter::DecodeBlockImpl( const char*, pdf_long ) { } I've a decoder implemented (using libtiff), but it's a part of proprietary product and I'm just trying to persuade my team to prepare a patch and donate code to the library. Everyone would benefit in this case. I think I'll be able to share it in several weeks only. P.S. I've podofo 0.9.5 sources, so my information can be outdated. Regards, - Dmitry -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users
Re: [Podofo-users] extract tiff from scanned pdf
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 at all: void PdfCCITTFilter::DecodeBlockImpl( const char*, pdf_long ) { } I've a decoder implemented (using libtiff), but it's a part of proprietary product and I'm just trying to persuade my team to prepare a patch and donate code to the library. Everyone would benefit in this case. I think I'll be able to share it in several weeks only. P.S. I've podofo 0.9.5 sources, so my information can be outdated. Regards, - Dmitry -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users
Re: [Podofo-users] extract tiff from scanned pdf
hmmm, seems to be difficult? or maybe i could somehow make screenshots of entire pages? Am 25.05.2018 um 16:31 schrieb Martin Froese: hi everyone, is extracting tiffs supported? i build podofo with the latest tiff libs but get this error from the podofoimgextract.exe PoDoFo encountered an error. Error: 35 ePdfError_UnsupportedFilter Callstack: #0 Error Source: c:\ecworks_mep\podofo-0.9.6-rc1\src\base\pdffiltersprivate.cpp:1280 this section seems to be excluded using DS_CCITT_DEVELOPMENT_CODE? sample pdf is attached. thank you! -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users --- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users
[Podofo-users] extract tiff from scanned pdf
hi everyone, is extracting tiffs supported? i build podofo with the latest tiff libs but get this error from the podofoimgextract.exe PoDoFo encountered an error. Error: 35 ePdfError_UnsupportedFilter Callstack: #0 Error Source: c:\ecworks_mep\podofo-0.9.6-rc1\src\base\pdffiltersprivate.cpp:1280 this section seems to be excluded using DS_CCITT_DEVELOPMENT_CODE? sample pdf is attached. thank you! emptyTiffScanner.pdf Description: Adobe PDF document -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users