Re: [Podofo-users] image extract
thank you joerg, so what might be wrong with my podofo build? the resulting image is included in the attachment. in the cmake stage of building i have included jpeg-9c, but i had to adjust some things to build everything from the resulting .sln file in visual studio. unfortunately it is some days ago and i do not remember specifics. maybe the linker command line from visual studio shows a problem? /OUT:"C:\ecworks_mep\podofo-0.9.6-rc1\martinBuild\tools\podofoimgextract\Debug\podofoimgextract.exe" /MANIFEST /NXCOMPAT /PDB:"C:/ecworks_mep/podofo-0.9.6-rc1/martinBuild/tools/podofoimgextract/Debug/podofoimgextract.pdb" /DYNAMICBASE "podofo.lib" "kernel32.lib" "user32.lib" "gdi32.lib" "winspool.lib" "comdlg32.lib" "advapi32.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "ws2_32.lib" /IMPLIB:"C:/ecworks_mep/podofo-0.9.6-rc1/martinBuild/tools/podofoimgextract/Debug/podofoimgextract.lib" /DEBUG /MACHINE:X86 /SAFESEH /INCREMENTAL /PGD:"C:\ecworks_mep\podofo-0.9.6-rc1\martinBuild\tools\podofoimgextract\Debug\podofoimgextract.pgd" /SUBSYSTEM:CONSOLE",5.01" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /ManifestFile:"podofoimgextract.dir\Debug\podofoimgextract.exe.intermediate.manifest" /ERRORREPORT:PROMPT /NOLOGO /LIBPATH:"C:/ecworks_mep/podofo-0.9.6-rc1/martinBuild/src" /LIBPATH:"C:/ecworks_mep/podofo-0.9.6-rc1/martinBuild/src/Debug" /TLBID:1 Am 22.05.2018 um 12:23 schrieb Joerg Sonnenberger: On Mon, May 21, 2018 at 03:15:44PM +0200, M. Froese wrote: i think the imageextract tool is very outdated. i tried it with a pdf that i created from a single jpg (see attachment), resulting in a distorted version of that jpg. It works perfectly fine here with the attached document. Joerg -- 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] image extract
okay, it works now, i had to rebuild everything and also include libpng although it is supposed to be optional. Am 22.05.2018 um 12:56 schrieb Joerg Sonnenberger: On Tue, May 22, 2018 at 12:48:50PM +0200, M. Froese wrote: thank you joerg, so what might be wrong with my podofo build? the resulting image is included in the attachment. Windows problem. The file is not written as binary, so \n gets messed up. Joerg -- 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] image extract
On Tue, May 22, 2018 at 12:48:50PM +0200, M. Froese wrote: > thank you joerg, so what might be wrong with my podofo build? the resulting > image is included in the attachment. Windows problem. The file is not written as binary, so \n gets messed up. Joerg -- 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] image extract
On Mon, May 21, 2018 at 03:15:44PM +0200, M. Froese wrote: > i think the imageextract tool is very outdated. i tried it with a pdf that i > created from a single jpg (see attachment), resulting in a distorted version > of that jpg. It works perfectly fine here with the attached document. Joerg -- 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] image extract
hi everyone, i think the imageextract tool is very outdated. i tried it with a pdf that i created from a single jpg (see attachment), resulting in a distorted version of that jpg. a png triggered an exception that i was unable to debug. my final goal is to extract all the images in a pdf and store them in a std::vector for further processing. I wanted to start from the imgextract code but it does not work. could someone update this tool so it works with different kinds of image types? or point me in the right direction otherwise? thank you! shell_logo_30645.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