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

Asked by BlackDalek

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:
su_v
Solved:
Last query:
Last reply:
Revision history for this message
BlackDalek (dalekky) said :
#1

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

Revision history for this message
Best su_v (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>

Revision history for this message
BlackDalek (dalekky) said :
#3

Thanks for your help.