Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've been searching the LQ archive for it, but didn't find the answer. The closest on is titled "How to copy a selected content from a .PDF file" posted in this forum. Sorry I can't post the directy url because:
Warning! You currently have less than 5 posts. As a result, your post will be blocked if it contains a URL.
We apologize for the inconvenience, this rule is in place to help prevent spam.
Anyway, here is my question:
I know how to copy images in the acroread, but I need to know what
tools that will accept the image content copied from the acroread.
From acroread' manual:
,-----
| To copy an image or text in image format using the Snapshot tool:
| Select the Snapshot tool , and do one of the following:
|
| Click in the page to capture the content displayed on-screen.
| Drag a box around the text, images, or a combination of both.
| Drag a box within an image to copy just a portion of the image.
|
| Colors in the selected area are inverted momentarily to highlight
| the selection. You can open a file in another application and
| paste the copied selection directly into the target document.
`-----
The problem is that I'm yet to find this "another application" that will
accept the image content copied from the acroread.
My first guess is gimp, but it won't work. All that I got is the following
in the log (no images shown):
checking pixbuf format 'png'
- checking mime type 'image/png'
checking pixbuf format 'wbmp'
- checking mime type 'image/vnd.wap.wbmp'
checking pixbuf format 'wmf'
- checking mime type 'image/x-wmf'
checking pixbuf format 'ani'
- checking mime type 'application/x-navi-animation'
checking pixbuf format 'bmp'
- checking mime type 'image/bmp'
- checking mime type 'image/x-bmp'
- checking mime type 'image/x-MS-bmp'
checking pixbuf format 'ico'
- checking mime type 'image/x-icon'
checking pixbuf format 'pcx'
- checking mime type 'image/x-pcx'
checking pixbuf format 'pnm'
- checking mime type 'image/x-portable-anymap'
- checking mime type 'image/x-portable-bitmap'
- checking mime type 'image/x-portable-graymap'
- checking mime type 'image/x-portable-pixmap'
checking pixbuf format 'ras'
- checking mime type 'image/x-cmu-raster'
- checking mime type 'image/x-sun-raster'
checking pixbuf format 'tga'
- checking mime type 'image/x-tga'
checking pixbuf format 'xbm'
- checking mime type 'image/x-xbitmap'
checking pixbuf format 'tiff'
- checking mime type 'image/tiff'
checking pixbuf format 'xpm'
- checking mime type 'image/x-xpixmap'
checking pixbuf format 'svg'
- checking mime type 'image/svg'
- checking mime type 'image/svg+xml'
checking pixbuf format 'gif'
- checking mime type 'image/gif'
checking pixbuf format 'jpeg'
- checking mime type 'image/jpeg'
- - - - >8 - - - -
Originally posted by fatrandy13 taking a snapshot should definitely work....
...
i cant imagine that not working, i have done it before....
Sure it works, but...
Screenshots are not quite the same, however, because they are limited by the screen size and resolution. I.e., if you copy graphics from Acrobat Reader the bitmap will only be in the resolution you are viewing it. Whereas an image-capture tool in the PDF viewer can use a higher resolution and color depth.
How about trying the Gimp? I know that most openoffice.org programs will allow you to paste copied sections of acroread documents. Kword probably does as well, and I'd bet the Gimp would do it too. Unless I'm missing your question, I think you can paste it into these programs.
Originally posted by bioalchemist
...I know that most openoffice.org programs will allow you to paste copied sections of acroread documents. Kword probably does as well, and
text or image?
Quote:
I'd bet the Gimp would do it too. Unless I'm missing your question...
Well I was curious so I tried it for myself. I was able to copy images from a pdf in acroread into the following programs:
Kword
OpenOffice.org 2.0 (Writer and Impress)
And, yes, The Gimp does work for me. Not sure why it doesn't work for you.
There is a much better route than copying stuff with acroread.
For bitmap images, use pdfimages. Often available in your distribution. It will extract all bitmaps (you may have to search a little for which bitmap you wanted) in the original resolution.
For vector images (illustrator, inkscape output, etc) use pstoedit. pstoedit has some quirks, so you might have to correct its output. For example to get an svg file that you can edit with inkscape:
The resulting file will slightly confuse inkscape. My tactic to resolve that is to copy the part you want to use, and past that into a new inkscape document.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.