Velvet Star Monitor

Standout celebrity highlights with iconic style.

news

How to crop the image using LaTeX?

Writer Matthew Harrington

For example I have a image with some description. I want to crop the image such that only image is visible. How I can do in LaTeX ?

1

1 Answer

graphicx provides a trim option which allows you to specify how much should be trimmed on the left, bottom, right and top:

\documentclass{article}
\usepackage{graphicx}
\begin{document}
\includegraphics[trim= 0 0 90 0,clip]{example-image-duck}
\end{document}

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.