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 Rinc <ma...@rinc.ws> has 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