These pages are written by only Japanese.
|
Namazu for hns による簡易全文検索です。 詳細は 詳細指定/ヘルプをご参照下さい。 |
|||||||||||||||||||||||||||||||||||||||||||||||||
稼働中に突然死の報告もあるので、動いていても安心はできないうーむ。早くデータ吸い出さないと… (焦
同社では、不具合の発生する製品の比率を「30%以上にのぼるもの」と推測している。いろいろオワタ。
(1) 問題になった例は「PNGとしての背景色」が白で「透明ピクセルのRGB色」が黒 (2) 「PNGとしての背景色」「透明ピクセルのRGB色」「Flashの背景色」が 一致していると問題ない (3) Flash CS3 で PNG を張り付けると、内部に保存されるビットマップの 「透明ピクセルのRGB色」が(元が黒だとしても)白になる。はじめ (1) の例と、SWF フォーマット的に背景色設定ができない事から「背景色」をピクセルに混ぜる処理がいるのかなーと思っていましたが、(3) の動作からするとそう単純な話でもなさそうです。
% ethna add-project -b=/var/www g creating directory (/g) [y/n]: y PHP Warning: mkdir(): Permission denied in <略>うーむ。-b が prefix 指定だと思ったけど効かないなぁ…
% cd /var/www % ethna add-project g <いろいろ> project skelton for [g] is successfully generated at [/var/www]-b は見なかった事にしよう。
G[8344](WARNING): global.require_once(class/Renderer/Ethna_Renderer_Smarty.php:11): [PHP] E_WARNING: require_once(Smarty/Smarty.class.php) [function.require-once]: failed to open stream: そのようなファイルやディレクトリはありません in /usr/share/pear/Ethna/class/Renderer/Ethna_Renderer_Smarty.php on line 11Smarty 入れ忘れてました。(てへ
% tar xvfz Smarty-2.6.21.tar.gz # cp -r Smarty-2.6.21/libs /usr/share/pear/Smarty
Index Page hello, world!…と表示されたけど、同時に大量のエラーが…
G[8345](WARNING): global.preg_match(/usr/share/pear/Smarty/Smarty_Compiler.class.php:454): [PHP] E_WARNING: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 18454 in /usr/share/pear/Smarty/Smarty_Compiler.class.php on line 454 G[8345](ERR): Smarty._trigger_fatal_error(/usr/share/pear/Smarty/Smarty_Compiler.class.php:2242): [PHP] E_USER_ERROR: Smarty error: [in index.tpl line 5]: syntax error: unrecognized tag: $config.url (Smarty_Compiler.class.php, line 455) in /usr/share/pear/Smarty/Smarty.class.php on line 1092 G[8345](ERR): Smarty._trigger_fatal_error(/usr/share/pear/Smarty/Smarty_Compiler.class.php:2242): [PHP] E_USER_ERROR: Smarty error: [in index.tpl line 5]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 599) in /usr/share/pear/Smarty/Smarty.class.php on line 1092 G[8345](WARNING): global.preg_match(/usr/share/pear/Smarty/Smarty_Compiler.class.php:454): [PHP] E_WARNING: preg_match() [function.preg-match]: Compilation failed: repeated subpattern is too long at offset 18454 in /usr/share/pear/Smarty/Smarty_Compiler.class.php on line 454 G[8345](ERR): Smarty._trigger_fatal_error(/usr/share/pear/Smarty/Smarty_Compiler.class.php:2242): [PHP] E_USER_ERROR: Smarty error: [in index.tpl line 19]: syntax error: unrecognized tag: $smarty.const.ETHNA_VERSION (Smarty_Compiler.class.php, line 455) in /usr/share/pear/Smarty/Smarty.class.php on line 1092 G[8345](ERR): Smarty._trigger_fatal_error(/usr/share/pear/Smarty/Smarty_Compiler.class.php:2242): [PHP] E_USER_ERROR: Smarty error: [in index.tpl line 19]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 599) in /usr/share/pear/Smarty/Smarty.class.php on line 1092
'url' => 'http://<秘密>.awm.jp/',ふむ…
# yum install mysql-server mysql-devel # yum install php-mysql php-pdo php-tidy # yum install php-pear-DB # yum install php-pear-HTTP-Request # yum install php-pear-Mail php-pear-Mail-Mime # yum install php-pear-Date php-pear-File # yum install php-pecl-memcache微妙に重複してる気もするけど、mysql, php のキーワードに 引っかかる package で入ってなかったものを全て入れてみた。闇鍋状態。
SWF File Format Specification (Version 10)何時の間にか *1 Version 10 が出てました。
The SWF 10 specification expands text capabilities with support for bidirectional text and complex scripts with the new DefineFont4 tag. The DefineBitsJPEG4 tag allows embedding JPEG images that have an alpha channel for opacity and also a smoothing filter. SWF 10 also adds support for the free and open-source Speex voice codec and for higher frequencies in the existing Nellymoser codec.という事なので、拡張されたものを箇条書きにすると
- DeblockParam - UI16 Parameter to be fed into the deblocking filter. The parameter describes a relative strength of the deblocking filter from 0-100% expressed in a normalized 8.8 fixed point format.を元に説明すると、DefineBitsJPEG3 は、
+--------------------------------------------------------------- | tag | length | length | image_id | offset_to_alpha | .. | 35 | 0x3f | | | | +--------------------------------------------------------------- <-- 2 bytes --> <- 4 bytes -> <-2 bytes-> <-- 4 bytes --> <--- length (最後まで) --- ---+------------------------------+-------------------+ .. | encoding_tables | image_data | alpha(zlib圧縮) | ---+------------------------------+-------------------+ <-- offse_to_alpha --> <-contents 残り全部->で、DefineBitsJPEG4 は、
+--------------------------------------------------------------- | tag | length | length | image_id | offset_to_alpha | .. | 35 | 0x3f | | | | +--------------------------------------------------------------- <-- 2 bytes --> <- 4 bytes -> <-2 bytes-> <-- 4 bytes --> <--- length (最後まで) --- ---+-------------+-----------------+------------+-------------------+ .. |deblock_param| encoding_tables | image_data | alpha(zlib圧縮) | ---+-------------+-----------------+------------+-------------------+ <- 2 bytes -> <-contents 残り全部-> <------------ offset_to_alpha ------------->となります。 Wiki に早速追記 ↓ deblock_param は deblocking filter の値で、デブロッキングフィルタは、 ブロックノイズの発生を抑えるのに H.264 で使われている技術だそうです。
さらに、「デブロッキング・フィルタ」は、圧縮によって歪んでしまった画像の 見栄えを向上させます。デジタル圧縮の際に画像をブロックごとに区切って扱うと、 ブロックごとに色や輝度が違ってしまうために、人間の目には、機械が区切った ブロックが判別できてしまいます。これは俗にブロックノイズと呼ばれるのですが、 デブロッキング・フィルタでは、隣り合った2つのブロックが自然につながるように 画像を調整します。この仕組みによって、高い圧縮率で縮めたデータでも鑑賞できる 画像を作り出せるのです。なるほど。概要は理解。