LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 11-29-2005, 12:37 PM   #1
xptools
Member
 
Registered: Sep 2005
Location: Canada
Distribution: Debian Testing
Posts: 40

Rep: Reputation: 15
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
 
Old 11-29-2005, 01:19 PM   #2
fatrandy13
Member
 
Registered: Jun 2004
Location: new jersey
Distribution: anything debian based, long live apt-get
Posts: 230

Rep: Reputation: 30
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....
 
Old 11-29-2005, 02:27 PM   #3
xptools
Member
 
Registered: Sep 2005
Location: Canada
Distribution: Debian Testing
Posts: 40

Original Poster
Rep: Reputation: 15
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.
 
Old 11-29-2005, 02:40 PM   #4
bioalchemist
Member
 
Registered: Oct 2005
Distribution: mandriva
Posts: 106

Rep: Reputation: 15
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.
 
Old 11-29-2005, 03:17 PM   #5
xptools
Member
 
Registered: Sep 2005
Location: Canada
Distribution: Debian Testing
Posts: 40

Original Poster
Rep: Reputation: 15
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?
 
Old 11-29-2005, 03:55 PM   #6
xptools
Member
 
Registered: Sep 2005
Location: Canada
Distribution: Debian Testing
Posts: 40

Original Poster
Rep: Reputation: 15
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 08:04 PM.
 
Old 11-29-2005, 04:38 PM   #7
bioalchemist
Member
 
Registered: Oct 2005
Distribution: mandriva
Posts: 106

Rep: Reputation: 15
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.
 
Old 11-29-2005, 05:27 PM   #8
chemdawg
Member
 
Registered: Jan 2005
Distribution: Mandriva
Posts: 206

Rep: Reputation: 31
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.
 
Old 11-29-2005, 05:47 PM   #9
xptools
Member
 
Registered: Sep 2005
Location: Canada
Distribution: Debian Testing
Posts: 40

Original Poster
Rep: Reputation: 15
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 06:27 PM.
 
Old 04-15-2009, 04:27 AM   #10
repa
LQ Newbie
 
Registered: Apr 2009
Posts: 2

Rep: Reputation: 0
Lightbulb 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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Acroread 7.0 won't read pdf mikieboy Linux - Software 4 11-14-2005 05:09 PM
acroread convert to postscript to always shrinks pdf? chaos215bar2 Linux - Software 2 06-01-2005 10:04 PM
Image to PDF parker.andrew Linux - General 1 03-28-2005 04:30 PM
setting acroread as default PDF viewer mecherd Linux - Newbie 3 04-15-2004 03:27 PM
Making Acroread my default .pdf reader? Doug.Gentry Linux - Distributions 2 08-09-2003 10:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration