• <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

            統(tǒng)計

            留言簿

            閱讀排行榜

            評論排行榜

            2008年1月15日 #

            不錯的C++圖像庫DevIL

            在使用CxImage顯示gif文件時,發(fā)現(xiàn)CxImage解一個299幀的gif動畫,在debug的時候花了好幾時秒,
            CxImage
            在處理gif時效率太低了。
            在網(wǎng)上搜索了一些,支持比較強的圖像庫:
            imageMagick--
            非常強大,在MFC中不好用,要把圖片顯示到窗口非常麻煩,至少目前沒有發(fā)現(xiàn)在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 閱讀(4701) | 評論 (5)編輯 收藏

            僅列出標題  
            亚洲国产精品无码久久久不卡| 欧美久久精品一级c片片| av色综合久久天堂av色综合在| 观看 国产综合久久久久鬼色 欧美 亚洲 一区二区 | 久久AV高潮AV无码AV| 久久AV高潮AV无码AV| 综合久久一区二区三区| 日本欧美久久久久免费播放网| 久久久一本精品99久久精品88| 狠色狠色狠狠色综合久久| 国内精品久久久久久久影视麻豆| 2021少妇久久久久久久久久| 久久伊人亚洲AV无码网站| 久久精品免费一区二区| 香蕉aa三级久久毛片| 久久99精品久久久久婷婷| 99久久综合国产精品二区| 久久www免费人成看片| 无码人妻久久一区二区三区免费 | 狠狠色丁香婷婷综合久久来来去| 香蕉久久一区二区不卡无毒影院 | 久久久99精品一区二区| 合区精品久久久中文字幕一区| 久久国产高清一区二区三区| 久久久久婷婷| 亚洲欧美成人综合久久久| AV狠狠色丁香婷婷综合久久 | 99久久精品免费看国产一区二区三区 | 99久久久精品| 久久中文精品无码中文字幕| 国内精品久久久久影院薰衣草 | 内射无码专区久久亚洲| 一本大道久久香蕉成人网| 潮喷大喷水系列无码久久精品| 国产精品伦理久久久久久| 久久久无码精品亚洲日韩京东传媒 | 国产精品一久久香蕉国产线看观看| 国产一级做a爰片久久毛片| 综合久久一区二区三区 | 久久亚洲精品中文字幕| 久久久久无码专区亚洲av|