262010
 

好久没写博客了,再不写都要发霉了,不过黑羽更厉害,已经是很久很久很久很久很久没更新了,而且说要更新已经说了很久很久很久很久很久了……呵呵……

好吧,不说别的,GR中发现这个东西真不错,支持40多种的图片格式,不过根据测试,效果其实一般般,PS CS4的PSD格式就打不开,而且不支持GIF动画,这个小囧。总的来说相当不错啦!

官方页面:http://www.zaalabs.com/2010/04/introducing-zaail-40-image-format-support-for-flash/
源码下载:http://zaalabs.com/demo/TestZaaIL/srcview/index.html
实例查看:http://zaalabs.com/demo/TestZaaIL/

支持的格式列表:

  • Blizzard game textures – .blp
  • Windows Bitmap – .bmp
  • Multi-PCX – .dcx
  • DirectDraw Surface – .dds
  • Dicom – .dicom, .dcm
  • Flexible Image Transport System – .fits, .fit
  • Graphics Interchange Format – .gif
  • Radiance High Dynamic – .hdr
  • Macintosh icon – .icns
  • Windows icon/cursor – .ico, .cur
  • Interchange File Format – .iff
  • Interlaced Bitmap – .lbm, .ilbm
  • Infinity Ward Image (doesn’t work with MW2 iwi files) – .iwi
  • Jpeg – .jpg, .jpe, .jpeg
  • Jpeg 2000 – .jp2
  • Homeworld texture – .lif
  • Half-Life Model – .mdl
  • MPEG-1 Audio Layer 3 (Amazon MP3s work, Apple’s do not) – .mp3
  • Kodak PhotoCD – .pcd
  • ZSoft PCX – .pcx
  • Softimage PIC – .pic
  • Alias | Wavefront – .pix
  • Portable Network Graphics – .png
  • Portable Anymap – .pbm, .pgm, .pnm, .pnm
  • Adobe PhotoShop – .psd
  • PaintShop Pro – .psp
  • Pixar – .pxr
  • Raw data – .raw
  • Homeworld 2 Texture – .rot
  • Silicon Graphics – .sgi, .bw, .rgb, .rgba
  • Sun Microsystems, .sun
  • Creative Assembly Texture – .texture
  • Truevision Targa – .tga
  • Tagged Image File Format – .tif
  • Gamecube Texture – .tpl
  • Unreal Texture – .utx
  • Valve Texture Format – .vtf
  • Game Archive – .wad
  • Quake 2 Texture – .wal
  • Wireless Bitmap File Format – .wbmp
  • HD Photo – .wdp, .hdp
  • X Pixel Map – .xpm
  • Doom Graphics
 Posted by at 10:35 上午

  3 Responses to “ZaaIL 支持40多种图片格式的AS3类库”

  1. 发现有ico格式。。。。之前练习AIR的时候,做了一个IconConverter,还特意翻ico格式文档。结果这个就有了。。泪奔。。。

  2. @MorrisLiang: 如果没记错,ICO和BMP的格式是一样的吧?

  3. 对,图片部分是一样的格式的,不过ICO还有个文件头。。因为ICO可以一次储存N格图标。。所以要在文件头那里记录每个图标的信息。

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>