From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Andreas Politz <politza@fh-trier.de>
Cc: emacs-devel@gnu.org
Subject: Re: new image-type: composite, or not
Date: Wed, 30 Jan 2013 12:28:48 -0500 [thread overview]
Message-ID: <jwva9rqd2id.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87y5ffsvg3.fsf@fh-trier.de> (Andreas Politz's message of "Sat, 26 Jan 2013 18:30:52 +0100")
> lately I started to develop an isearch mode for PDF files, since being
> able to search a document effectively is one of the few things that
> lets me start-up xpdf, while writing LaTeX.
Would be very nice, indeed. A print command would also be welcome
(especially one that can print a subset of the pages).
> That way a new image type came to live, which I ingeniously called
> `composite'.
Sounds good.
> It looks a bit uglier than the convert version, because of non-fuzzy
> masking of the background, but is totally usable, regarding
> performance.
What does it look like? E.g. can you highlight the text without
obscuring it?
> Alas, all this made me realize, that maybe a simpler approach would
> suffice. Something like a single function
> (mark-image foreground background &rest edges-list)
I'm not sure exactly how that would work, can you give some details?
> which does not have the side-effect of reloading the image.
Why does the composite type need to reload the image?
> Though I don't know if this would be useful for anything else, besides
> doc-view. Maybe selecting a slice of some image...
Selecting a slice in image-mode is indeed an obvious candidate.
Not sure what other candidates there can be, neither for mark-image nor
for a composite image.
Stefan
next prev parent reply other threads:[~2013-01-30 17:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-26 17:30 new image-type: composite, or not Andreas Politz
2013-01-30 17:28 ` Stefan Monnier [this message]
2013-01-30 19:14 ` Andreas Politz
2013-01-31 0:21 ` Stefan Monnier
2013-01-31 7:06 ` Andreas Politz
2013-02-01 22:28 ` Andreas Politz
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=jwva9rqd2id.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=politza@fh-trier.de \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.