Re: [Podofo-users] Podofocolor error
Hello Matt, hello all, currently on encountering an unsupported color space, the information about it is discarded, so no output file can be produced in that case. I don't have time to rectify that currently, sorry. Best regards, mabri > Matt S Rinchas written on 26. Juli 2017 at 02:43: > > Podofocolor (latest library compiled with no errors on Mac) gives me this > error when opening CMYK colorspaced PDF: > > > podofocolor lua ../podofo-0.9.5/tools/podofocolor/example.lua > > ff_ff-gs-cmyk-icc.pdf ff_dummy.pdf > > > > Processing page 1... > > -> Lua is parsing page: 1 > > Unsupported colorspace name: R11Unknown color space 255 type. > > Error: An error 45 ocurred during processing the pdf file > > > > PoDoFo encountered an error. Error: 45 ePdfError_CannotConvertColor > > Error Description: This color format cannot be converted. > > Callstack: > > #0 Error Source: > > /Users/mattsrinc/Documents/Projekti/Freelancer/MyProjects/Convert Image to > > CMYK/podofo-0.9.5/tools/podofocolor/colorchanger.cpp:310 > (it doesn't matter what parameters I call podofocolor with, e.g. grayscale > etc) > > and gives me this error when opening RGB colorspaced PDF: > > > podofocolor lua ../podofo-0.9.5/tools/podofocolor/example.lua ff_ff.pdf > > ff_dummy.pdf > > <> > > Processing page 1... > > -> Lua is parsing page: 1 > > Unsupported colorspace name: PatternUnknown color space 255 type. > > Error: An error 45 ocurred during processing the pdf file > > > > PoDoFo encountered an error. Error: 45 ePdfError_CannotConvertColor > > Error Description: This color format cannot be converted. > > Callstack: > > #0 Error Source: > > /Users/mattsrinc/Documents/Projekti/Freelancer/MyProjects/Convert Image to > > CMYK/podofo-0.9.5/tools/podofocolor/colorchanger.cpp:310 > > Any help would be really appreciated. I doubt a C(++) program will rescue > me e.g. open a PDF, change colors in it and save it. > > -- > > Matt Sergej Rinc > Elearning, Video Marketing, Webinars, Presentations & SEO Copywriting. > Prekorje 49, Celje, 3211, SI, > [www.prezentacija.si](http://www.prezentacija.si) > Hire me on Freelancer (mattsrinc) > -- > 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] Podofocolor error
On Wed, 2017-07-26 at 02:43 +0200, Matt S Rinc wrote: > Any help would be really appreciated. I doubt a C(++) program will > rescue me e.g. open a PDF, change colors in it and save it. Hi, I cannot tell whether it's related or not, but just in case, could you try with the current trunk version [1], or at least apply this [2] change to your 0.9.5, please? Otherwise I've not much idea. Lua is an optional dependency, thus you can compile without it too. Bye, zyx [1] https://sourceforge.net/p/podofo/code/HEAD/tarball?path=/podofo/trunk [2] https://sourceforge.net/p/podofo/code/1825 -- http://www.litePDF.cz i...@litepdf.cz -- 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] Podofocolor error
Podofocolor (latest library compiled with no errors on Mac) gives me this error when opening CMYK colorspaced PDF: > podofocolor lua ../podofo-0.9.5/tools/podofocolor/example.lua > ff_ff-gs-cmyk-icc.pdf ff_dummy.pdf > > Processing page 1... > -> Lua is parsing page:1 > Unsupported colorspace name: R11Unknown color space 255 type. > Error: An error 45 ocurred during processing the pdf file > > PoDoFo encountered an error. Error: 45 ePdfError_CannotConvertColor > Error Description: This color format cannot be converted. > Callstack: > #0 Error Source: > /Users/mattsrinc/Documents/Projekti/Freelancer/MyProjects/Convert Image to > CMYK/podofo-0.9.5/tools/podofocolor/colorchanger.cpp:310 (it doesn't matter what parameters I call podofocolor with, e.g. grayscale etc) and gives me this error when opening RGB colorspaced PDF: > podofocolor lua ../podofo-0.9.5/tools/podofocolor/example.lua ff_ff.pdf > ff_dummy.pdf > <> > Processing page 1... > -> Lua is parsing page:1 > Unsupported colorspace name: PatternUnknown color space 255 type. > Error: An error 45 ocurred during processing the pdf file > > PoDoFo encountered an error. Error: 45 ePdfError_CannotConvertColor > Error Description: This color format cannot be converted. > Callstack: > #0 Error Source: > /Users/mattsrinc/Documents/Projekti/Freelancer/MyProjects/Convert Image to > CMYK/podofo-0.9.5/tools/podofocolor/colorchanger.cpp:310 Any help would be really appreciated. I doubt a C(++) program will rescue me e.g. open a PDF, change colors in it and save it. -- Matt Sergej Rinc Elearning, Video Marketing, Webinars, Presentations & SEO Copywriting. Prekorje 49, Celje, 3211, SI, www.prezentacija.si [1] Hire me on Freelancer (mattsrinc) Links: -- [1] http://www.prezentacija.si-- 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