Inkscape: A Vector Drawing Tool

Extension > Images > Extract image... does nothing.

Asked by BlackDalek on 2011-12-03

Inkscape 0.48.0 r9654 running in Ubuntu 10.10

Have a single page PDF document open in Inkscape with emdedded bitmap images.

Want to extract bitmap images as separate files. Can't use File > Export Bitmap... as this mixes up other document elements into the image.

Need to extract the image cleanly, so trying to use Extensions > Images > Extract image...

Path/name is entered.

Result - 'Extension "Extract Image..." working." displayed.
No file is generated.

Expected result - an image file of specified name is generated in the specified directory.

Question information

Language:
English Edit question
Status:
Solved
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Solved by:
~suv
Solved:
2011-12-05
Last query:
2011-12-05
Last reply:
2011-12-04
BlackDalek (dalekky) said : #1

This was not a bug, but a question about how to use the extension.

Best ~suv (suv-lp) said : #2

Alternatively, you could extract the images on the commandline using 'pdfimages' (part of poppler):

$ pdfimages -f 1 -l 1 -j -p AlloraShow2011AdPages.pdf "extracted-image"
$ for i in extracted-image*.pbm; do pnmtopng $i > $i.png; done

See also:
<http://en.wikipedia.org/wiki/Pdfimages>
<http://linuxcommand.org/man_pages/pdfimages1.html>
<http://netpbm.sourceforge.net/doc/pnmtopng.html>

BlackDalek (dalekky) said : #3

Thanks for your help.