I am very new to RMarkdown. Mainly using it to prepare PDF (Beamer) presentations. I'd like to know whether it is possible to crop the JPG/PNG image using very basic RMarkdown command:
![]()
I know that it is possible to adjust the height by :
{height=250} or to use LaTeX \includegraphics commands to adjust/trim the image (eg.: \includegraphics[trim={5.7cm 0.5cm 6.3cm 0cm},clip, scale=0.26]{f0_1}).
However, I'd love to use ![]() if it is possible. Mainly because it will generate the snippet of the image before I even compile the document.
Also, I'd like to know whether it is possible to insert cropped version the specific page of the PDF document using: ![](). I am able to do it using LaTex command: \includegraphics[page=16, trim={4.3cm 2.5cm 2.4cm 11.4cm},clip, scale=0.65]{oli.pdf.
Thank you very much!