From: Mirek Kaim <mirek.kaim@outlook.com>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: RE: Image rescaling
Date: Thu, 18 Sep 2014 19:03:19 +0200 [thread overview]
Message-ID: <COL131-W120AE79939E1B6E736A26F84B70@phx.gbl> (raw)
In-Reply-To: <m3d2as98w1.fsf@stories.gnus.org>
> From: larsi@gnus.org
>
> Mirek Kaim <mirek.kaim@outlook.com> writes:
>
>> convert to hsl, rescale using bilinear (should be fine for a start),
>> convert back to rgb? that should do the trick i guess. and it should
>> be pretty fast and easy to implement. unic0rn
>
> Yeah, looks pretty easy. When rescaling to a smaller size, some kind of
> blurring (Gaussian seems popular) has to be done first, apparently.
that wouldn't be bilinear anymore i guess. sure, gaussian or lanczos
could be implemented, but for a fast start bilinear or perhaps bicubic
should be sufficient. doing it in hsl colorspace should prevent artifacts,
and the whole thing will be pretty small and easy to code.
unic0rn
ps. i hope my email won't end up in one line this time,
no idea what the hell happened last time :/
next prev parent reply other threads:[~2014-09-18 17:03 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-15 12:45 Image rescaling Lars Magne Ingebrigtsen
2014-09-15 12:55 ` joakim
2014-09-15 13:03 ` Lars Magne Ingebrigtsen
2014-09-15 14:27 ` Stefan Monnier
2014-09-15 15:13 ` David Kastrup
[not found] ` <COL131-W90F448E3DC24C8E66A0E4D84C90@phx.gbl>
[not found] ` <m3d2as98w1.fsf@stories.gnus.org>
2014-09-18 17:03 ` Mirek Kaim [this message]
2014-09-15 15:12 ` joakim
2014-09-15 16:14 ` Lars Magne Ingebrigtsen
2014-09-15 19:01 ` joakim
2014-09-15 19:59 ` Lars Magne Ingebrigtsen
2014-09-15 20:00 ` joakim
2014-09-16 0:07 ` Stefan Monnier
2014-09-16 9:42 ` Lars Magne Ingebrigtsen
2014-09-16 11:22 ` Dmitry Antipov
2014-09-16 11:37 ` Lars Magne Ingebrigtsen
2014-09-16 14:42 ` Eli Zaretskii
2014-09-16 14:52 ` Lars Magne Ingebrigtsen
2014-09-16 3:10 ` Stephen J. Turnbull
2014-09-16 14:33 ` Eli Zaretskii
2014-09-19 16:48 ` Ivan Kanis
2014-09-30 14:19 ` Lars Magne 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=COL131-W120AE79939E1B6E736A26F84B70@phx.gbl \
--to=mirek.kaim@outlook.com \
--cc=emacs-devel@gnu.org \
--cc=larsi@gnus.org \
/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.