Bitmaps

  • SWF ファイルフォーマット仕様は幾つかのビットマップ形式をサポートする。
  • 全てのビットマップはファイルサイズを減らす為に圧縮される。
  • 写真のように正確でなくて良い画像に最も適している非可逆圧縮画像は JPEG ビットマップで提供される。ダイアグラムやアイコン、スクリーンキャプチャのように正確であらねばならないもの、可逆圧縮画像は ZLIB ビットマップで提供される。
  • どちらのビットマップのタイプも、アルファチャネル(opacity)情報を持つ事が出来る。
  • JPEG フォーマットは公式に ITU T.81 or ISO/IEC 10918-1 で定義される。Independent Joint Photographic Experts Group によって開発されたオープンな標準である。
  • JPEG フォーマットについては、このドキュメントでは記述しない。
  • JPEG フォーマットに関する一般的な情報は www.jpeg.org/ の JPEG を見る事。
  • JPEG フォーマットの仕様についてh www.itu.int/ の International Telecommunication Union か、T.81 勧告を探す事。
  • SWF ファイル中の JPEG データは、Annex B で定義される JPEG Interchange フォーマットでエンコードされる。
  • また、Flash Player は一般的な JFIF フォーマットや、JPEG Interchange フォーマットの拡張も理解する。
  • 全てにおいて、ビットマップタグ中の 非JPEG のピクセルデータの配列は、行優先順で現われる。英文を読むように、行中を左から右に、全体としては上から下に進む。
  • The SWF file format specification supports a variety of bitmap formats.
  • All bitmaps are compressed to reduce file size.
  • Lossy compression, best for imprecise images such as photographs, is provided by JPEG bitmaps; lossless compression, best for precise images such as diagrams, icons, or screen captures, is provided by ZLIB bitmaps.
  • Both types of bitmaps can optionally contain alpha channel (opacity) information.
  • The JPEG format, officially defined as ITU T.81 or ISO/IEC 10918-1, is an open standard developed by the Independent Joint Photographic Experts Group.
  • The JPEG format is not described in this document.
  • For general information on the JPEG format, see JPEG at www.jpeg.org/.
  • For a specification of the JPEG format, see the International Telecommunication Union at www.itu.int/ and search for recommendation T.81.
  • The JPEG data in SWF files is encoded using the JPEG Interchange Format specified in Annex B.
  • Flash Player also understands the popular JFIF format, an extension of the JPEG Interchange Format.
  • In all cases where arrays of non-JPEG pixel data are stored in bitmap tags, the pixels appear in row-major order, reading like English text, proceeding left to right within rows and top to bottom overall.

DefineBits

JPEGTables

DefineBitsJPEG2

DefineBitsJPEG3

DefineBitsLossless ] [#c362c783]

DefineBitsLossless

DefineBitsLossless2 ] [#le6bae11]

DefineBitsLossless2

DefineBitsJPEG4


Reload   Diff   Front page List of pages Search Recent changes Backup Referer   Help   RSS of recent changes