1. If an included picture is scaled and cropped, will the original size image be retrievable from the compiled *.pdf ?
  2. ... and if so how ?
  3. ... ... ... how to prevent ?


\includegraphics[trim=0mm 0mm 0mm -5mm, clip, scale=0.15]{./figures/asdf}
  • 3
    The original image is included in the PDF file, as pdftex does nothing to it. What's the problem in being able to know the size of the image? – egreg Jun 24 '14 at 9:56
  • 1
    @egreg: The clipped content, which may contain confidential stuff. As I understand the OP, the original size is not the main concern, but the original size image. – AlexG Jun 24 '14 at 10:06
  • 3
    @AlexG If the clipped part contains confidential stuff, the clipping must be done before including the image. – egreg Jun 24 '14 at 10:21
  • 2
    @daleif That's to be verified with the specific software. I guess it also depends on the image format. – egreg Jun 24 '14 at 10:25
  • 1
    The crop feature of Adobe Acrobat leaves the cropped part of the image intact in the file. I unexpectedly found that out once, when including such an image in LaTeX produced the original uncropped image when printed out on certain older printers that were not up to date with their postscript drivers. As a result of this experience, I do not rely on cropping software to do the job, but make sure my original crops the unwanted stuff directly. Obviously, if you are willing to rasterize, you can crop stuff, but who wants to rasterize an image?? – Steven B. Segletes Jun 24 '14 at 19:31

As various comments already said: Included images (this goes for pdf and bitmap images) are always copied completely and unchanged into the output files; only the viewport is changed and/or scaled. No driver or engine does image manipulations.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.