2010 8 13 电脑问题帖

8
回复
2481
查看
[复制链接]
发表于 2010-8-13 07:10:21 | 显示全部楼层 |阅读模式
关于PNG格式无法显示的问题

前几天我的电脑中毒,打开IE,PNG格式的图片都无法显示,针对此问题在网上搜了下,找到几种办法来解决,最后测试最管用的是以下办法:

建立一个"文本文档",将后缀改为".reg",也就是注册表文件,右键"编辑",在里面输入以下内容

  1. Windows Registry Editor Version 5.00
  2. ;PNG file association fix for Windows XP
  3. ;Created on May 17, 2007 by Ramesh Srinivasan
  4. [HKEY_CLASSES_ROOT\.PNG]
  5. "PerceivedType"="image"
  6. @="pngfile"
  7. "Content Type"="image/png"
  8. [HKEY_CLASSES_ROOT\.PNG\PersistentHandler]
  9. @="{098f2470-bae0-11cd-b579-08002b30bfeb}"
  10. [HKEY_CLASSES_ROOT\pngfile]
  11. @="PNG Image"
  12. "EditFlags"=dword:00010000
  13. "FriendlyTypeName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,\
  14. 00,6f,00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,\
  15. 32,00,5c,00,73,00,68,00,69,00,6d,00,67,00,76,00,77,00,2e,00,64,00,6c,00,6c,\
  16. 00,2c,00,2d,00,33,00,30,00,35,00,00,00
  17. "ImageOptionFlags"=dword:00000003
  18. [HKEY_CLASSES_ROOT\pngfile\CLSID]
  19. @="{25336920-03F9-11cf-8FD0-00AA00686F13}"
  20. [HKEY_CLASSES_ROOT\pngfile\DefaultIcon]
  21. @="shimgvw.dll,2"
  22. [HKEY_CLASSES_ROOT\pngfile\shell]
  23. @="open"
  24. [HKEY_CLASSES_ROOT\pngfile\shell\open]
  25. "MuiVerb"="@shimgvw.dll,-550"
  26. [HKEY_CLASSES_ROOT\pngfile\shell\open\command]
  27. @="rundll32.exe C:\\WINDOWS\\system32\\shimgvw.dll,ImageView_Fullscreen %1"
  28. [HKEY_CLASSES_ROOT\pngfile\shell\open\DropTarget]
  29. "Clsid"="{E84FDA7C-1D6A-45F6-B725-CB260C236066}"
  30. [HKEY_CLASSES_ROOT\pngfile\shell\printto]
  31. [HKEY_CLASSES_ROOT\pngfile\shell\printto\command]
  32. @="rundll32.exe C:\\WINDOWS\\system32\\shimgvw.dll,ImageView_PrintTo /pt "%1" "%2" "%3" "%4""
  33. [HKEY_CLASSES_ROOT\SystemFileAssociations\.PNG]
  34. "ImageOptionFlags"=dword:00000003
  35. [-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.PNG]
  36. [-HKEY_CLASSES_ROOT\Mime\Database\Content Type\image/x-png]
  37. [-HKEY_CLASSES_ROOT\Mime\Database\Content Type\image/png]
  38. [HKEY_CLASSES_ROOT\Mime\Database\Content Type\image/x-png]
  39. "Extension"=".png"
  40. "Image Filter CLSID"="{A3CCEDF7-2DE2-11D0-86F4-00A0C913F750}"
  41. [HKEY_CLASSES_ROOT\Mime\Database\Content Type\image/x-png\Bits]
  42. "0"=hex:08,00,00,00,ff,ff,ff,ff,ff,ff,ff,ff,89,50,4e,47,0d,0a,1a,0a
  43. [HKEY_CLASSES_ROOT\Mime\Database\Content Type\image/png]
  44. "Extension"=".png"
  45. "Image Filter CLSID"="{A3CCEDF7-2DE2-11D0-86F4-00A0C913F750}"
  46. [HKEY_CLASSES_ROOT\Mime\Database\Content Type\image/png\Bits]
  47. "0"=hex:08,00,00,00,ff,ff,ff,ff,ff,ff,ff,ff,89,50,4e,47,0d,0a,1a,0a
  48. [HKEY_CLASSES_ROOT\CLSID\{A3CCEDF7-2DE2-11D0-86F4-00A0C913F750}]
  49. @="CoPNGFilter Class"
  50. [HKEY_CLASSES_ROOT\CLSID\{A3CCEDF7-2DE2-11D0-86F4-00A0C913F750}\InProcServer32]
  51. @="C:\\WINDOWS\\system32\\pngfilt.dll"
  52. "ThreadingModel"="Both"
  53. [HKEY_CLASSES_ROOT\CLSID\{A3CCEDF7-2DE2-11D0-86F4-00A0C913F750}\ProgID]
  54. @="PNGFilter.CoPNGFilter.1"
  55. [HKEY_CLASSES_ROOT\PNGFilter.CoPNGFilter]
  56. @="CoPNGFilter Class"
  57. [HKEY_CLASSES_ROOT\PNGFilter.CoPNGFilter\CLSID]
  58. @="{A3CCEDF7-2DE2-11D0-86F4-00A0C913F750}"
  59. [HKEY_CLASSES_ROOT\PNGFilter.CoPNGFilter.1]
  60. @="CoPNGFilter Class"
  61. [HKEY_CLASSES_ROOT\PNGFilter.CoPNGFilter.1\CLSID]
  62. @="{A3CCEDF7-2DE2-11D0-86F4-00A0C913F750}"

复制代码

OK了
 楼主| 发表于 2010-8-13 07:11:57 | 显示全部楼层

附加问题:关于论坛"回复"变成下载的解决办法


点击“开始”——“运行”
输入 regsvr32 msxml3.dll
回车
 楼主| 发表于 2010-8-13 07:14:32 | 显示全部楼层
此次中毒还未发现其他故障,如果大家有过相近的故障可以回帖说明.
发表于 2010-8-14 16:50:37 | 显示全部楼层
哎,操作系统维护这一块,我基本放弃了.
发表于 2010-8-14 16:50:51 | 显示全部楼层
J 哥辛苦, 学习了.
 楼主| 发表于 2010-8-15 16:37:39 | 显示全部楼层
我是不坚持不行啊,电脑总是中毒
 楼主| 发表于 2010-8-15 16:37:56 | 显示全部楼层
现在电脑在我的店里,已经成了公用的了
发表于 2010-8-15 18:37:06 | 显示全部楼层
这么说下回我回讷河,就不用去网吧了?
 楼主| 发表于 2010-8-16 05:46:19 | 显示全部楼层
成吉思汗
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关注讷河,关注nehe.com.cn
微信&QQ号

3623459

周一至周日9:00-23:00

反馈建议

3623459@qq.com 在线QQ咨询

扫描二维码访问手机版