unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* rawrgb images support
@ 2016-11-30  3:14 Evgeny Zajcev
  2016-12-02 10:11 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Evgeny Zajcev @ 2016-11-30  3:14 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 447 bytes --]

Hello!

At the moment there is no possibilities to load image as raw RGB data in
GNU Emacs, even if using nice 'imagemagick image type.

The problem is that with raw rgb format the filename hint is not enough for
imagemagick to correctly interpret blob data.  size and depth also must be
provided.

I created tiny patch, that adds this functionality

https://github.com/zevlg/emacs/commit/17d85ca9e1c7c071602ef270c9480cdb542fb53d


Thanks

-- 
lg

[-- Attachment #2: Type: text/html, Size: 734 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: rawrgb images support
  2016-11-30  3:14 rawrgb images support Evgeny Zajcev
@ 2016-12-02 10:11 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2016-12-02 10:11 UTC (permalink / raw)
  To: Evgeny Zajcev; +Cc: emacs-devel

> From: Evgeny Zajcev <lg.zevlg@gmail.com>
> Date: Wed, 30 Nov 2016 06:14:06 +0300
> 
> At the moment there is no possibilities to load image as raw RGB data in GNU Emacs, even if using nice
> 'imagemagick image type.
> 
> The problem is that with raw rgb format the filename hint is not enough for imagemagick to correctly interpret
> blob data. size and depth also must be provided.
> 
> I created tiny patch, that adds this functionality
> 
> https://github.com/zevlg/emacs/commit/17d85ca9e1c7c071602ef270c9480cdb542fb53d

Thanks, pushed to master with a few minor changes.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-12-02 10:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-30  3:14 rawrgb images support Evgeny Zajcev
2016-12-02 10:11 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).