From: Peter Rolf <indiego@gmx.net>
To: ntg-context@ntg.nl
Subject: Re: Images in MultiMarkdown -> context -> PDF
Date: Wed, 21 Nov 2012 18:44:23 +0100 [thread overview]
Message-ID: <50AD12F7.9@gmx.net> (raw)
In-Reply-To: <F206A55B-E209-4DA1-B2B6-4CB224A185BE@wisc.edu>
I suggest that you use 'identify' from ImageMagick to check your graphics.
identify -verbose foo.jpg
One graphic has a defined resolution (72ppi) and one has none.
I also use ImageMagick to automatically add the resolution info to the
graphics. No problems with graphic sizes since then. Here is the
simplyfied content of a batch file that I normally use...
for %%i in (*.png) do convert -units PixelsPerInch -set density 96 "%%i"
The important thing is, that you use PNG as graphic format, when you
make your screenshots. JPG isn't lossless and any re-compression (e.g.
by adding an arrow, clipping) makes things even worse. Convert them to
JPG in the very last step (if you must).
Also: how about scaling your browser to 200% before you take your
screenshots?
HTH, Peter
Am 21.11.2012 15:55, schrieb Guy Stalnaker:
> Thanks - see my first post for a link to a web folder where you can find the .tex file, the .pdf context produces, two screenshots of the differing image treatment and two of the image files shown in the screenshots.
>
>
> Guy Stalnaker
> jstalnak@wisc.edu
> jimmyg521@gmail.com
>
> On Nov 21, 2012, at 8:35 AM, Sietse Brouwer <sbbrouwer@gmail.com> wrote:
>
>> Guy Stalnaker <jstalnak@wisc.edu> wrote:
>>> I get the same results using texexec and context which means, if I understand rightly, I have used both MkII and MkIV.
>>
>> Yes, this is correct.
>>
>>> Interestingly I get similar results using oft as the pandit output.
>>
>> That does suggest it might be something in the image metadata, too. Is
>> the image file something you can share? If so, perhaps you could share
>> it on the list as an attachment (this mailing list allows
>> attachments), so we could have a go at getting it to work ourselves.
>>
>> Cheers,
>> Sietse
>> ___________________________________________________________________________________
>> 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://tex.aanhet.net
>> archive : http://foundry.supelec.fr/projects/contextrev/
>> wiki : http://contextgarden.net
>> ___________________________________________________________________________________
> ___________________________________________________________________________________
> 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://tex.aanhet.net
> archive : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
>
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2012-11-21 17:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-21 4:42 Guy Stalnaker
2012-11-21 10:07 ` Martin Schröder
2012-11-21 13:21 ` Guy Stalnaker
2012-11-21 14:35 ` Sietse Brouwer
2012-11-21 14:55 ` Guy Stalnaker
2012-11-21 17:44 ` Peter Rolf [this message]
[not found] ` <CAF=dkzwfNWgMQpGe3HXeuAZxpCjmzvJTHxxb-2pK6zKJ3+uBPw@mail.gmail.com>
2012-11-21 18:17 ` Guy Stalnaker
2012-11-21 20:36 ` Sietse Brouwer
2012-11-23 21:34 ` Guy Stalnaker
2012-11-23 21:45 ` Aditya Mahajan
2012-11-23 23:25 ` Guy Stalnaker
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=50AD12F7.9@gmx.net \
--to=indiego@gmx.net \
--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).