请问如何得知一张图片的颜色数。比如说是256色还是16位??

解决方案 »

  1.   

    最好是熟悉各种图像文件的编码,然后从图像文件的格式中得到。
    就像ACDSee.
      

  2.   

    我也在问各种图像文件格式资料
    VB API区(我是那里的小版主,顺便置顶):http://expert.csdn.net/Expert/topic/1151/1151878.xml?temp=.718609
    VC/MFC 图形处理/算法:http://expert.csdn.net/Expert/topic/1151/1151880.xml?temp=.7496912
    Delphi 图形处理/多媒体:http://expert.csdn.net/Expert/topic/1151/1151881.xml?temp=.290661
    C++ Builder 图形处理/多媒体:http://expert.csdn.net/Expert/topic/1151/1151883.xml?temp=.8388788
    专题开发 图形图象:http://expert.csdn.net/Expert/topic/1151/1151884.xml?temp=.2508203
    这个地方不错:http://asp.6to23.com/iseesoft/now.htm