ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: [question] \clipping some data from a pdf
Date: Thu, 30 Jan 2020 08:55:00 -0500 (EST)	[thread overview]
Message-ID: <nycvar.YAK.7.77.849.2001300854330.8693@nqv-guvaxcnq> (raw)
In-Reply-To: <3F701973-B899-4038-AA2E-8EB494A4FD9E@fiee.net>

On Wed, 29 Jan 2020, Henning Hraban Ramm wrote:

>
>> Am 2020-01-29 um 00:27 schrieb Floris van Manen <vm@klankschap.nl>:
>> Or does there happen to be some snazzy tool out there to get the
>> coordinates of embedden images within a pdf?
>
> In case the "right" size of your image is defined as one of the PDF boxes (MediaBox, TrimBox, CropBox, ArtBox), you can set \externalfigure[drawing][size=art] (size=none/media/crop/trim/art).

This was documented at 
https://www.contextgarden.net/Command/useexternalfigure

but I also added a short description at 
https://www.contextgarden.net/Using_Graphics

Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2020-01-30 13:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-28 23:27 Floris van Manen
2020-01-29  6:04 ` Henning Hraban Ramm
2020-01-30 13:55   ` Aditya Mahajan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=nycvar.YAK.7.77.849.2001300854330.8693@nqv-guvaxcnq \
    --to=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).