From: Led <ledest@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] [JT] re on-the-fly image resize during package build
Date: Sun, 2 Mar 2008 02:19:11 +0200
Message-ID: <200803020219.12235.ledest@gmail.com> (raw)
In-Reply-To: <20080301183525.GJ21833@osdn.org.ua>
Saturday, 01 March 2008 20:35:25 Michael Shigorin написав:
> On Fri, Feb 29, 2008 at 07:21:12PM +0200, Led wrote:
> > тем более, что convert -resize 48x48 ... не так уж и сложно:)
> > Вот только появляется BuildRequires на громоздкий ImageMagick,
>
> Мож найти мелкую ресайзилку и именно для этих целей собрать?
> (btw в netpbm ничего подходящего нет часом? -- на freshmeat
> по image resize ничего интересного не вижу)
Обзазил весь freshmeat и SourceForge - ничего подходящего не нашёл. Можно
что-то сделать на базе Imlib2 или DevIL, но врядли это будет достойной
заменой convert (например, чтоб сделать подобное:
for s in 128 64 48 32 24 22 16; do
convert -border 0x13 -bordercolor none \
gui/mplayer/pixmaps/MPlayer_mini.xpm \
-resize ${s}x$s! -depth 8 gui/mplayer/pixmaps/%{lname}_$s.png
done
- пример из mplayer.spec). Есть у нас ещё GraphicMagick, но он не
поддерживает SVG на входе (по крайней мере, в нашей сборке), да и врядли он
легче ImageMagick'а. Кстати, я погарячился: последний не такой уж и тяжёлый:)
--
Led
next prev parent reply other threads:[~2008-03-02 0:19 UTC|newest]
Thread overview: 58+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-29 12:36 [devel] warnings and errors found by repocop Igor Vlasenko
2008-02-29 12:40 ` Denis Medvedev
2008-02-29 12:44 ` Igor Vlasenko
2008-02-29 13:33 ` Алексей Шенцев
2008-02-29 15:39 ` Евгений Терешков
2008-02-29 16:51 ` Igor Vlasenko
2008-02-29 17:21 ` Led
2008-03-01 3:26 ` Евгений Терешков
2008-03-01 16:49 ` Led
2008-03-01 13:29 ` Igor Zubkov
2008-03-01 13:33 ` Motsyo Gennadi aka Drool
2008-03-01 14:09 ` Igor Zubkov
2008-03-01 16:13 ` Motsyo Gennadi aka Drool
2008-03-01 16:21 ` Mikhail Gusarov
2008-03-01 16:45 ` Motsyo Gennadi aka Drool
2008-03-01 16:49 ` Mikhail Gusarov
2008-03-01 17:16 ` Motsyo Gennadi aka Drool
2008-03-01 17:22 ` Mikhail Gusarov
2008-03-01 17:23 ` Motsyo Gennadi aka Drool
2008-03-01 17:29 ` Mikhail Gusarov
2008-03-01 17:31 ` [devel] [JT] Лишние мегабайты Motsyo Gennadi aka Drool
2008-03-01 17:35 ` Led
2008-03-04 6:32 ` Vladimir V. Kamarzin
2008-03-04 6:57 ` Mikhail Gusarov
2008-03-04 8:06 ` Vladimir V. Kamarzin
2008-03-01 18:21 ` [devel] [JT] LA Michael Shigorin
2008-03-01 17:07 ` [devel] warnings and errors found by repocop Andrey Rahmatullin
2008-03-01 17:09 ` Mikhail Gusarov
2008-03-01 17:11 ` Andrey Rahmatullin
2008-03-01 18:27 ` [devel] %_binary_payload/%_source_payload Dmitry V. Levin
2008-03-01 18:29 ` Mikhail Gusarov
2008-03-01 18:31 ` Dmitry V. Levin
2008-03-02 8:45 ` Alexey Tourbin
2008-03-02 8:34 ` Alexey Tourbin
2008-03-02 13:33 ` Led
2008-03-01 23:28 ` [devel] warnings and errors found by repocop Igor Zubkov
2008-03-08 19:16 ` Michael Shigorin
2008-03-01 14:09 ` Led
2008-03-01 18:35 ` [devel] [JT] re on-the-fly image resize during package build Michael Shigorin
2008-03-01 18:38 ` Mikhail Gusarov
2008-03-01 18:47 ` [devel] [JT] re on-the-fly image resize during package build with macros Motsyo Gennadi aka Drool
2008-03-01 19:29 ` Led
2008-03-01 19:43 ` Motsyo Gennadi aka Drool
2008-03-01 19:52 ` Led
2008-03-02 8:06 ` Motsyo Gennadi aka Drool
2008-03-01 21:35 ` [devel] [JT] re on-the-fly image resize during package build Pavlov Konstantin
2008-03-01 18:45 ` Led
2008-03-02 0:19 ` Led [this message]
2008-02-29 17:21 ` [devel] warnings and errors found by repocop Александр Блохин
2008-03-01 12:49 ` Igor Vlasenko
2008-03-01 3:22 ` Евгений Терешков
2008-03-01 18:40 ` [devel] buildroot remnants test [was: warnings and errors found by repocop.] Igor Vlasenko
2008-03-03 8:34 ` [devel] warnings and errors found by repocop Андрей Черепанов
2008-03-03 9:33 ` Igor Vlasenko
2008-03-08 19:14 ` Michael Shigorin
2008-03-08 19:36 ` Igor Vlasenko
2008-02-29 12:42 ` Grigory Batalov
2008-02-29 12:45 ` Serhii Hlodin
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=200803020219.12235.ledest@gmail.com \
--to=ledest@gmail.com \
--cc=devel@lists.altlinux.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
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git