***************************************************************************

             Simple Plugin-based Graphic Loader Enfle

           (C) Copyright 1998-2005 by Hiroshi Takekawa.

             Last Modified: Sun Jul  3 12:56:50 2005.

***************************************************************************

Licensing Term

  This file is part of Enfle.

  Enfle is free software; you can redistribute it and/or modify it
  under the terms of the GNU General Public License version 2 as
  published by the Free Software Foundation.

  Enfle is distributed in the hope that it will be useful, but WITHOUT
  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
  License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA

  ATTENTION: GPL version 2 only. You cannot apply any later version.
  This situation may change in the future.

***************************************************************************

Acknowledgement

  JPEG Loader plugin and JPEG Saver plugin are based in part on the
  work of the Independent JPEG Group

  libjpeg is only linked, not distributed with this archive.  You
  should install it.

  The Graphics Interchange Format (c) is
  the Copyright property of CompuServe Incorporated.
  GIF (sm) is a Service Mark property of CompuServe Incorporated.

  libungif is only linked, not distributed with this archive.
  Moreover, libungif is not used by default.
  Now that the patent was expired, enfle has gif loader plugin.

Integrated libraries by other authors
  Thanks to all authors.

  lib/mpglib: mpglib from mpg123 for mp3 decoding
    mpglib by Michael Hipp.  Read lib/mpglib/README.

  lib/mpeg2: libmpeg2 from mpeg2dec-0.4.0 for MPEG decoding
    libmpeg2 by Aaron Holtzman and others.  For this part, you can
    apply GPL2 or later version.

  lib/avcodec: libavcodec from ffmpeg-cvs as of 20040220 for a/v decoding
    libavcodec by Fabrice Bellard and others.  For this part, you can
    apply LGPL2 or any later version.  LGPL license is in
    lib/avcodec/COPYING.LIB.

  lib/mad: libmad-0.15.0 for mp3 decoding
    libmad by Underbit Technologies, Inc.  For this part, you can
    apply GPL2 or later version.

  lib/j2k: libj2k for JPEG2000 decoding
    libj2k by David Janssens.  Read lib/j2k/LICENSE.

***************************************************************************

OK, legal part is over. The rest is fun.

Enfle is a clipped form of Enfleurage.  Enfleurage means: A process of
extracting perfumes by exposing absorbents, as fixed oils or fats, to
the exhalations of the flowers. It is used for plants whose volatile
oils are too delicate to be separated by distillation. (Webster's
Revised Unabridged Dictionary (1913)).

See README.e if you don't read Japanese, but English.


1.Ϥ

Υץϡβ򤵤뤳ȤɸȤ
Ǥ̾ 90 ٲžоѴʤɤԤޤư
ˤбƤޤ

бեޥå
  BMP, GIF, JPEG, PCX, PNG, PNM, XBM, XPM, JPEG2000
  spi (԰, Susie plugin ѤǤ)
  animated GIF
  mng
  mpeg (mpeg1, mpeg2)
  avi,ogg,ogm(,asf,wmv) (avcodec бƤ codec, vorbis, Windows DMO)

ƥեޥåȤؤбϥץ饰ˤäƼƤޤ¾
üʥ֡ tar ʤɤΰŪʥ̤֡줿 gz ʤɤΥե
ʤɤؤбץ饰ˤäƼƤꡢƤ
򻲹ͤˤ뤳Ȥˤ (ȯСΥɥȤϤޤʤ) ï
ץ饰äƳĥ뤳ȤǽǤ

ʲ plugin ˤ library ɬפǤưǤ version 񤤤
ޤ

JPEG: jpegsrc-6b (libjpeg)
PNG: libpng-1.0.2 or later (recommended: 1.2.7)
gz: zlib-1.2.2 or later (Note: versions prior to 1.2.1 include the security hole)
bz2: bzip2-1.0.0 or later (recommended: 1.0.3)
ungif: libungif-3.1.0 or later ǤȤꤢưޤ
       Ǻǿ 4.1.0 ˤХޤ
       (recommended: cvs version, but cvs cannot be accessed any more)
mng: libmng-1.0.0 or later (plugin unmaintained)
libmpeg3: libmpeg3-1.2.2 or later (not supported now)
mpeg_lib: mpeg_lib-1.3.1+patch (obsolete)
avifile: avifile-0.53.5 or avifile-0.6 in CVS (not fully supported)
divx: divx4linux-20030428 (Ť API ΤΤϻȤޤ)
alsa: ALSA_PCM_NEW_HW_PARAMS_API бƤΤɬפǤ
ogg: libogg-1.1
vorbis: libvorbis-1.0.1
theora: libtheora-1.0-alpha4


2.ưĶ

X Ф depth  16, 24 (bpp 24, 32) ǤưȻפޤ¾
ޤΤȤ unsupported Ǥ depth ɽǤʤä 
xdpyinfo νϤȾܤĶΤ餻ʤ depth 16  mask 
0xf800,0x7e0,0x1f ǤʤФȻפޤΤȤϻ
ǤΤ뤫⤷ޤ

ΤȤʲδĶǤưǧƤޤ

Linux (kernel 2.2/2.4/2.6 + glibc-2.1/2.2/2.3, x86(-64))
FreeBSD (4.1R, x86)

Ʊ/¾δĶǻ줿Ϸ̤𤯤

ΥᥤγȯĶ 2005/7/3  ʲ̤Ǥ

Kernel: Linux-2.6.12-mm1
CPU: PentiumIV/3GHz or PentiumIII/700MHz
X server: X11R6.8.1
Video: NVIDIA GeForce4 Ti4800 SE or Silicon Motion, Inc. SM720 Lynx3DM
Compiler: gcc version 2.95.3 or 3.4.4, icc 8.0
libc: glibc-2.3.5/cvs/nptl


3.ѥ

ѥˤ gcc ɬפǤɤ gcc  extension ȤäƤޤ

(Intel C++ Compiler 8.0 ǤΥѥǽǤCC=icc ./configure
libtool  compiler_c_o  no ˤʤäƤ yes ѹmakeޤ
ʤ⤷ޤ)

ܤ configure  make ǤޤʤݤˤϡɤΤ
ʥ顼Ǥ𤷤ƤйǤconfigure 
config.log ʤɤ⻲ͤˤʤޤϸҤƤޤ

make ̤ä顢 make install Ƥ
make install ˼¹Ԥϡ src ˰ư enfle.rc Խ
ץ饰θѥꤷ ./enfle ȵưƤ
ץ饰θѥλϴĶѿ ENFLE_PLUGINDIR, enfle.rc ꡢ
ӥȥΥǥեȤνͥ褵ޤ

configure ץȤλǤ륪ץϡ./configure --help Ǿ
٤ߤޤ

ץ饰 shared object Ȥ compile ޤե̾.so 
äƤɬפޤcompile ̤뤬.so ʳˤʤäƤޤäư
ʤȤä㤤ޤ󤯤.a Ǥ
ˤ shared object ʤ/ȤʤĶǤǽ⤢


susie  plugin Ȥˤ--enable-spi ɬפǤ
ungif plugin Ȥˤ--with-ungif ɬפǤ

Susie  plugin ե spi/dir ˻ꤷǥ쥯ȥ֤
ɤޤɤƤɤʤ⤷ޤ󤷡ɤ
餵ʤǽޤɤΥץ饰/ԤȤ
ԤƤޤ

Windows DMO ե dmo/dir ˻ꤷǥ쥯ȥ֤Х
ɤޤwmv9dmod.dll ֤ƤɤХɤޤ

avcodec Υѥˤϻ֤ޤΤǡפ
--disable-avcodec ĤƤ


4.ޥɥ饤

Enfle ˥ץʥץǤɽե̾³
ƻꤹǤǥ쥯ȥꤷϤβΥե
ŪɲäޤбƤ륢֤ꤷˤϡ̣
ޤޤ

ץ:

-C  batch ȤǼưѴޤ Saver plugin ̾Ǥ
   ޤά PNG ˤʤޤ
-i ϻꤷѥΥե̾ΤоݤȤޤ
-x ϻꤷѥΥե̾оݤ鳰ޤ
-n ϻꤷܤΥե뤫ɽޤ
-w Ϻǽɤߤɻˤƽλޤ
-m ϳɽˡꤷޤ
      0: normal 1: double 2: short 3: long
-c  config ξ񤭤򤷤ޤʣġ
-u ϻѤ UI plugin ꤷޤ
-v ϻѤ video plugin ꤷޤ
-a ϻѤ audio plugin ꤷޤ
-I ϥץ饰ξܺپɽޤ
-h ϥإפɽޤ
-V ϥСɽޤ
-q ϥץ饰θ˥åѤʤ褦ˤޤ
-N ϥץ饰θ˻Ȥåƹۤޤ


5.Ȥ

å,n,space	β
å,b		β
楯å,N (shift+n)	Υ֤
B (shift+b)		Υ֤
Ctrl+n			5ĸβ
Ctrl+b			5β
Alt+n			5ĸΥ֤
Alt+b			5Υ֤
d			ɽƤեɽꥹȤϤ
D (shift+d)		ɽƤե
q			λ
f			ե륹꡼ on/off
S (shift+s)		祢르ꥺѹ (nointerpolate/bilinear)
C-s			ɽβ PNG ¸
Alt-S			config ǻꤷ¸
h,v			줾ʿľμФоΤѴ
l,r			줾 90 ١-90 ٤˲žѴ
m			2 ܳ
M (shift+m)		Ĺդ̤äѤˤʤ褦˳
Alt-m			ûդ̤äѤˤʤ褦˳
1-7			줾졢 2.2, 1.7, 1.45, 1, 1/1.45, 1/1.7, 1/2.2

ޤƤβɽäƤ⽪λޤ

ޥ wheel ˤбƤޤΤȤˤޤ魯ȼβ
ˤޤ魯βˤĤޤ


6.ޥ

install $prefix/share/enfle/enfle.rc (
/usr/local/share/enfle/enfle.rc ȤΤ) Ȥե뤬
install ޤޥˤϡ

mkdir ~/.enfle
cp /usr/local/share/enfle/enfle.rc ~/.enfle/config

ȥԡ ~/.enfle/config 񤭤Ƥ

ץΥޥ
enfle.rc (~/.enfle/config)  caption_template = "%p %f %xx%y"ꤷ
ޤνꡢѤǤΤϰʲ̤ꡣ

%%
 %Τ
%) or %> 
 祢르ꥺ) ޤ>ɽ
%x, %y
 Υ
%f
 եΥեޥå
%F
 եΥեޥå (ά)
%p
 եΥѥ
%P
 եΥեѥ
%N
 ץ̾
%i
 Υ(ǥ쥯ȥ)Ǥΰ
%I
 Υ(ǥ쥯ȥ)Υե


7.¾

w3m γӥ塼Ȥ enfle Ȥˡ

~/.mailcap 
image/*;enfle %s
ʤƴ˽񤤤ƤƥΤ enfle ˤƤ뤼Ȥ
/etc/mailcap ˤǤ񤤤Ƥ


8.Ϣ

Х𡢸ո洶ۤϴޤޤEnfle ˴ؤ ML Τǡ
ѤưϿȤʤޤɤˤϡ

 subscribe ʤ̾

Ȥʸ˽񤤤ơ<enfle-ctl@fennel.org>äƤ

 : subscribe Hiroshi Takekawa

θޤ֤Ϥ᡼ˤä confirm (Ͽγǧ) 򤷤Ƥ
Ƥ줿᡼ϻ˳Ƽ︢ΤȤޤ(θ
ڤˤ뤿᤯餤ΰ̣ʤǤ)

ɤƤȤˤϻľܤǤ빽Ǥ

        Hiroshi Takekawa <sian@big.or.jp>
                         <sian@fennel.org>


9.ۤˤĤ

Enfle  GNU GENERAL PUBLIC LICENSE Version 2 ˽ޤVersion 2 
ߤǡʹߤ Version ˤ륪ץϤޤΤȤޤ
GPL2 ˤĤƤ COPYING ɤߤȤܸ COPYING.j
ĤƤޤ

ѤΤۤˤĤƤ­: ܤǤϡˡˤꡢԿͳ
ʪФƼưŪȯ뤳ȤǤޤԿͳ
ΰθȤƱݻޤ̳ȤϤޤ󤬡Ѥ
ΤۤïɤΤ褦ѹԤä狼褦ˤƤ
ɤȻפޤˡ20򡢲Ѥ˴ؤ㳰֥ץ
ʪ򥳥ԥ塼ǤŪѤ뤿ɬפʲѡפˤƤϤޤ
褦ʲѤԤ뤳ȤԤޤ


10.ѤˤĤ

ѤϼȤǤˤƹԤäƤѤˤäȯ뤤ʤ
פˤĤƤ⡢ԤϰǤ餤ޤ
