none
ImageCodecInfo.GetImageEncoders()返回的结果里 没有image/tiff,怎么解决? RRS feed

  • 问题

  • ImageCodecInfo.GetImageEncoders()返回的结果里 没有image/tiff,怎么解决?是不是要安装编码器,这个编码器在哪下载?

    我的电脑是xp sp3。

    2014年9月29日 2:51

全部回复

  • Hi,

    按道理来说这个是返回的GDI+内置的图像编码,http://msdn.microsoft.com/en-us/library/system.drawing.imaging.imagecodecinfo.getimageencoders(v=vs.110).aspx Returns an array of ImageCodecInfo objects that contain information about the image encoders built into GDI+. 然后你看这里 http://msdn.microsoft.com/zh-cn/library/bb882579(v=vs.110).aspx

    <sentencetext xmlns="http://www.w3.org/1999/xhtml">GDI+ 具有支持以下文件类型的内置编码器和解码器:</sentencetext>                   
    • <sentencetext xmlns="http://www.w3.org/1999/xhtml">BMP</sentencetext>                           

    • <sentencetext xmlns="http://www.w3.org/1999/xhtml">GIF</sentencetext>                           

    • <sentencetext xmlns="http://www.w3.org/1999/xhtml">JPEG</sentencetext>                           

    • <sentencetext xmlns="http://www.w3.org/1999/xhtml">PNG</sentencetext>                           

    • <sentencetext xmlns="http://www.w3.org/1999/xhtml">TIFF</sentencetext>              

    能确定你的Tiff格式正确么? 或者装一下这个试试?http://www.microsoft.com/en-us/download/details.aspx?id=18909



    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    2014年9月29日 7:46
    版主