• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            tbyxyz

            統計

            留言簿

            閱讀排行榜

            評論排行榜

            2008年1月15日 #

            不錯的C++圖像庫DevIL

            在使用CxImage顯示gif文件時,發現CxImage解一個299幀的gif動畫,在debug的時候花了好幾時秒,
            CxImage
            在處理gif時效率太低了。
            在網上搜索了一些,支持比較強的圖像庫:
            imageMagick--
            非常強大,在MFC中不好用,要把圖片顯示到窗口非常麻煩,至少目前沒有發現在Windows窗口中顯示的方法,還得加一堆亂七八糟的dll

            還是DevIL比較好使一點,感覺DevIL封裝的不是很好,全局變量太多,多線程操作極不安全。用C++在封裝一下,可能就好使一點。

            附:

            DevIL Feature List

            Supports loading of:

            • .bmp
            • .cut
            • .dcx
            • .dds
            • .ico
            • .gif
            • .jpg
            • .lbm
            • .lif
            • .mdl
            • .pcd
            • .pcx
            • .pic
            • .png
            • .pnm
            • .psd
            • .psp
            • .raw
            • .sgi
            • .tga
            • .tif
            • .wal
            • .act
            • .pal
            • .hdr
            • Doom graphics

            Supports saving of:

            • .bmp
            • .dds
            • .jpg
            • .pcx
            • .png
            • .pnm
            • .raw
            • .sgi
            • .tga
            • .tif
            • .pal
            • .hdr

            Library Features

            • Portable, supports Windows, Mac OS X and *nix.
            • OpenGL-style syntax.
            • Use of image names instead of ugly pointers.
            • Loading from files, file streams or memory "lumps".
            • Direct access to data through ilGetData() and ilSetData().
            • Support for luminance, rgb(a), bgr(a) and colour-indexed images.
            • Support for 3 different numbers of bits per channel.
            • Conversion between all formats and datatypes (including palettes).
            • User-defined automatic conversions if desired when loading images.
            • Automatic conversion when saving images if needed.
            • Automatic conversion of colour-indexed images to truecolour images if desired.
            • Controllable compression when saving.
            • Maintains a state stack that can be pushed and popped.
            • Full support for 3d texture volumes (3d images).
            • Validation of images.
            • Support for layers.
            • Support for mipmaps.
            • Support for animations.
            • User-specified clear colour.
            • Can load a default image if loading fails.
            • User-specified hints.
            • Use of key colours.
            • Support for overlaying an image on top of another.
            • Allows the user to specify their own loading and saving callbacks, even overriding the default ones.
            • Support for user-specified read and write functions.
            • Delphi support.
            • Visual Basic support.
            • Linux support.
            • Can pick and choose which features will be used to create smaller dlls.
            • Choose whether to use the Intel Jpeg Library or libjpeg.
            • A whole host of effects and filters to apply to images, such as embossing and edge detection.
            • Images can be resized or even be put on a larger background (enlarged canvas).
            • OpenGL, Allegro, Windows GDI and DirectX API support.

             


            posted @ 2008-01-15 17:17 hosea 閱讀(4707) | 評論 (5)編輯 收藏

            僅列出標題  
            99久久精品免费观看国产| 2020久久精品国产免费| 久久久久成人精品无码| 色综合久久久久综合99| 亚洲AV无码1区2区久久 | 国产美女久久精品香蕉69| 国产69精品久久久久久人妻精品| 久久久女人与动物群交毛片| 久久久久免费精品国产| 人妻无码精品久久亚瑟影视| 777米奇久久最新地址| 亚洲欧美精品一区久久中文字幕| 午夜天堂精品久久久久| 久久久久国色AV免费观看| 久久国产精品99国产精| 国内精品久久国产| 久久av免费天堂小草播放| 97久久精品无码一区二区| 日韩十八禁一区二区久久| 日本三级久久网| 久久精品亚洲中文字幕无码麻豆| 久久精品99无色码中文字幕| 久久国产精品一国产精品金尊| 综合久久一区二区三区| 国产精品99久久久久久宅男 | 久久国产色AV免费观看| 久久国产免费直播| 久久毛片免费看一区二区三区| 国产精品久久久久久久久| 狠狠综合久久综合88亚洲| 久久夜色精品国产| 久久久无码精品亚洲日韩软件| 久久综合久久综合九色| 77777亚洲午夜久久多喷| 国产成人久久AV免费| 无码人妻久久一区二区三区 | 亚洲AV伊人久久青青草原| 国产福利电影一区二区三区,免费久久久久久久精 | 日本精品久久久久影院日本| 九九久久精品国产| 久久最新免费视频|