# Extract a graphic from the pdf document [closed]

I have a pdf file which contain text, image and text as :

text ....
My image
text ...

how can i do to print just the image on latex ?

-

## closed as too localized by Martin Schröder, Kurt, percusse, lockstep, Joseph Wright♦Feb 2 '13 at 21:53

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Sorry I do not understand the question. Do you have the tex-file? And do not want to compile the test parts? Then just remove the text in the tex-file. Or just comment it out. –  Jana Jan 21 '13 at 15:10
If all you have is the pdf document you can cut the image from the pdf and save it as a jpg or png to include in your LaTeX source with \includegraphics. –  Ethan Bolker Jan 21 '13 at 15:14
You may try pdfpages insert the page and clip the page just to have the image. –  Harish Kumar Jan 21 '13 at 15:18
You would only need pdfpages if the final image exceeds the usual text width/height. If not, a simple \includegraphics[trim='left'cm 'bottom'cm 'right'cm 'top'cm,clip]{myfigure.pdf} will do the trick. Any dimension is allowed, but this is a bit tricky, to get right. I suggest an \fbox{} around the figure, if there is white around it in the input file. –  user24276 Jan 21 '13 at 15:39
You can use \includegraphics with trim and clip options. –  Paul Gaborit Jan 21 '13 at 15:39