2

Lately I have to extract few specific images from .pdf files and save them as image file. For example, the following is the image copied from a PDF (right click and copy image using Ctrl+C).

two graphs

When I paste the same either in LibreOffice Writer or an image editor like KolourPaint, I end up with a blank image something like this. Can anyone suggest how I can work around this issue?

blank image space

Zanna
  • 70,465
SKPS
  • 183
  • 2
  • 15
  • 2
    Which pdf-viewer to you use? Is the pdf freely available in the internet? If so, please post a link. – cmks Mar 13 '16 at 20:34
  • 1
    First of all check that Graphics and Objects is enabled, as mentioned here: http://askubuntu.com/questions/112681 – whtyger Mar 14 '16 at 07:27
  • @cmks: I use adobe and I tried different pdf viewers also. I tried pasting in different destinations like kolourpaint. Still its blank – SKPS Mar 14 '16 at 10:46
  • @whtyger: Tried it already and not working yet. See above comment also – SKPS Mar 14 '16 at 10:47
  • So images are replaced with placeholders when you paste them from the clipboard? What happens if you paste an image using Insert -> Image -> From File? – whtyger Mar 14 '16 at 11:11
  • does copying (small) pictures out of freely available pdf-files work? Try the logo on first side of this one: http://www.amstat.org/publications/jse/v18n2/cooper.pdf – cmks Mar 14 '16 at 13:29
  • What happens if you do a printscreen in ubuntu, copy it to the clipboard and paste it to libreoffice? – cmks Mar 14 '16 at 13:29
  • @cmks Printscreen and pasting to libreoffice and kolourpaint are working fine. Only issue is copying images from pdf doesnt work. – SKPS Mar 16 '16 at 09:38
  • 1
    This occurs with every PDF or only with some of them? Can you provide the link to some affected PDF? – whtyger Mar 16 '16 at 13:15
  • I have a hack, its not pretty. You could use a key binding, or panel app to call the command, mate-screenshot -a (or gnome-screenshot , or some other similar program) select the image area you want, then put the file into a document. – j0h Mar 16 '16 at 16:11
  • 1
    again: does copying (small) pictures out of freely available pdf-files work? Try the logo on first side of this one: http://amstat.org/publications/jse/v18n2/cooper.pdf – cmks Mar 18 '16 at 23:02
  • It is an outside chance but as what you are describing is not normal behaviour for libreoffice at least. You could try resetting your configuration to defaults. Close all libreoffice windows and then run mv -v $HOME/.config/libreoffice/4/user $HOME/.config/libreoffice/4/user_bak and then when you restart the defaults will be in use... – andrew.46 Mar 20 '16 at 03:43
  • @cmks : I tried the top left logo on the pdf you shared. On both libreOffice Writer and Kolourpaint, they appear blank. – SKPS Mar 22 '16 at 13:39
  • @SathishKrishnan Found this thread: http://www.linuxquestions.org/questions/linux-software-2/why-doesn%27t-copy-image-work-in-adobe-acrobat-reader-762271/ . If it looks promising, then check this post. You can find pdfimages tool in poppler-utils package. – whtyger Mar 22 '16 at 19:12

0 Answers0