Linux - General This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
11-29-2005, 01:37 PM
|
#1
|
Member
Registered: Sep 2005
Location: Canada
Distribution: Debian Testing
Posts: 40
Rep:
|
Copying image using acroread from pdf file
Hi,
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):
- - - - >8 - - - -
offered type: TIMESTAMP
offered type: TARGETS
offered type: MULTIPLE
offered type: UTF8_STRING
offered type: STRING
offered type: TEXT
offered type: COMPOUND_TEXT
offered type: text/rtf
offered type: PIXMAP
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 - - - -
Please help.
thanks a lot
|
|
|
11-29-2005, 02:19 PM
|
#2
|
Member
Registered: Jun 2004
Location: new jersey
Distribution: anything debian based, long live apt-get
Posts: 230
Rep:
|
taking a snapshot should definitely work....
if you are using kde theres a program called ksnapshot and it makes a .png file of your current screen.
save this file anywhere you would like. now open up the gimp or any other picture editor, crop it and save it as any file format you want.
i cant imagine that not working, i have done it before....
|
|
|
11-29-2005, 03:27 PM
|
#3
|
Member
Registered: Sep 2005
Location: Canada
Distribution: Debian Testing
Posts: 40
Original Poster
Rep:
|
Quote:
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.
|
|
|
11-29-2005, 03:40 PM
|
#4
|
Member
Registered: Oct 2005
Distribution: mandriva
Posts: 106
Rep:
|
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.
|
|
|
11-29-2005, 04:17 PM
|
#5
|
Member
Registered: Sep 2005
Location: Canada
Distribution: Debian Testing
Posts: 40
Original Poster
Rep:
|
Quote:
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...
|
still bet even after I've said it won't work?
|
|
|
11-29-2005, 04:55 PM
|
#6
|
Member
Registered: Sep 2005
Location: Canada
Distribution: Debian Testing
Posts: 40
Original Poster
Rep:
|
Didn't find anyting in the "Adobe User to User Forums"
http://www.adobeforums.com/cgi-bin/webx?126@@
Last edited by xptools; 11-29-2005 at 09:04 PM.
|
|
|
11-29-2005, 05:38 PM
|
#7
|
Member
Registered: Oct 2005
Distribution: mandriva
Posts: 106
Rep:
|
Quote:
Originally posted by xptools
text or image?
|
either will work
Quote:
Originally posted by xptools
still bet even after I've said it won't work?
|
My apologies, I didn't see that in your original post, but I see it now.
|
|
|
11-29-2005, 06:27 PM
|
#8
|
Member
Registered: Jan 2005
Distribution: Mandriva
Posts: 206
Rep:
|
Quote:
Originally posted by xptools
text or image?
still bet even after I've said it won't work?
|
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.
|
|
|
11-29-2005, 06:47 PM
|
#9
|
Member
Registered: Sep 2005
Location: Canada
Distribution: Debian Testing
Posts: 40
Original Poster
Rep:
|
Quote:
Originally posted by chemdawg
I was able to copy images from a pdf in acroread into the following programs:
|
Thanks for trying. Glad that it works for you. Hmm... now wondering why it doesn't work for me.
My system is:
Debian Stable.
$ uname -rm
2.6.11-1-k7 i686
ii acroread_7.0.1-0.0
ii gimp_2.2.6-1
ii xfree86-common_6.8.2.dfsg.1-6
ii xserver-xfree86_4.3.0.dfsg.1-14sarge1
doing further testing...
Maybe because of the pdf files that I tried? Did you try some file that is availble from the web? The url? ... Thanks a lot.
Last edited by xptools; 11-29-2005 at 07:27 PM.
|
|
|
04-15-2009, 05:27 AM
|
#10
|
LQ Newbie
Registered: Apr 2009
Posts: 2
Rep:
|
It is better to get the original images out
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:
pstoedit -page <page number> -f "plot-svg" document.pdf figure.svg
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.
|
|
|
All times are GMT -5. The time now is 05:24 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|