all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Dov Grobgeld <dov.grobgeld@gmail.com>
Cc: 48415@debbugs.gnu.org
Subject: bug#48415: Subject: 27.2; Add filter-to-png support for user defined image formats
Date: Sun, 31 Oct 2021 08:04:55 -0700	[thread overview]
Message-ID: <CADwFkmkL9-COy5p8eO6PJ6hPyZmie4AUTPoN+vgdBEMn1_uDMQ@mail.gmail.com> (raw)
In-Reply-To: <CA++fsGFZecEKOG5UG=z2Fj57DSRcQ2hSQKZG6i1KeecxGAQ7YA@mail.gmail.com> (Dov Grobgeld's message of "Fri, 14 May 2021 12:07:07 +0300")

Dov Grobgeld <dov.grobgeld@gmail.com> writes:

> This is a feature request and not a bug.
>
> Background
>
> Within org-mode I often reference external image resources of
> hand drawn sketches that were drawn with the program krita. These
> have the extension kra.  Internally this file format is a zip
> file, with one of the entries being the image mergedimage.png . I
> would like to display such kra images in emacs inline, just like
> emacs can display any referenced png files.
>
> Another similar format is the OpenRaster file format (which is
> also a zip file with an embedded mergedimage.png), which by
> default has the extension .ora.
>
> Suggestion
>
> I suggest that the inline image display in emacs will
> be "extended" with a list of "filter functions" that map from a
> user define file extension- to a function that extracts and
> produces a png file. With such support it becomes trivial to
> support inline display of kra and ora files by writing a function
> that extracts the mergedimage.png from the zip file and supplies
> it to emacs.

Thanks for the bug report.

Could you send an example .kra image file and .ora image file?





  reply	other threads:[~2021-10-31 15:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-14  9:07 bug#48415: Subject: 27.2; Add filter-to-png support for user defined image formats Dov Grobgeld
2021-10-31 15:04 ` Stefan Kangas [this message]
2022-07-12 23:37 ` Lars Ingebrigtsen

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=CADwFkmkL9-COy5p8eO6PJ6hPyZmie4AUTPoN+vgdBEMn1_uDMQ@mail.gmail.com \
    --to=stefan@marxist.se \
    --cc=48415@debbugs.gnu.org \
    --cc=dov.grobgeld@gmail.com \
    /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.