I had my sysadmin install the libpodofo-tools package and when I
attempt to extract images from this PDF:
http://chiclassiccomp.org/docs/content/computing/LearSiegler/LSI_ADM1-Brochure_1973.pdf

I get a bunch of PPM files, but they don't appear to be correct:

shell 142> identify pdfimage_0000.ppm
identify: unable to read image data `pdfimage_0000.ppm' @ 
error/pnm.c/ReadPNMImage/929.

ImageMagick's convert command also errors out reading the file:
shell 144> convert pdfimage_0000.ppm tmp.png
convert: unable to read image data `pdfimage_0000.ppm' @ 
error/pnm.c/ReadPNMImage/929.
convert: no images defined `tmp.png' @ error/convert.c/ConvertImageCommand/3210.

...and pnmtopng also reports an error:

pnmtopng pdfimage_0000.ppm > tmp.png
pnmtopng: EOF / read error reading a row of pixels

Looking at the partial tmp.png I see an image that appears to repeat
the original image 3 times from left to right and is about 1/3rd the
expected height.

Is this a known issue with 0.9.3?

shell 150> podofoimgextract --version
Usage: podofoimgextract [inputfile] [outputdirectory]

PoDoFo Version: "0.9.3"

Is it fixed in 0.9.5?

I've been looking for a good PDF image extractor that was open source
and I had really high hopes for podofo.
-- 
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
             The Terminals Wiki <http://terminals-wiki.org>
     The Computer Graphics Museum <http://ComputerGraphicsMuseum.org>
  Legalize Adulthood! (my blog) <http://LegalizeAdulthood.wordpress.com>

------------------------------------------------------------------------------
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

Reply via email to