Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
  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 ?

MWE-snippet:

\includegraphics[trim=0mm 0mm 0mm -5mm, clip, scale=0.15]{./figures/asdf}
share|improve this question
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 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 at 10:06
3  
@AlexG If the clipped part contains confidential stuff, the clipping must be done before including the image. –  egreg Jun 24 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 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 at 19:31

1 Answer 1

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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