IT之家 7 月 3 日消息,微软 Powershell 终端存在一个长达十年的“图片压缩”问题,微软日前修复了这个 Bug,当下通过 Powershell 命令获取图片时,不会导致图片被压缩或数据损坏。
Powershell 终端会对内容进行“对象化”,在通过命令获取图片时,由于这些图片 url 时“字符串对象”,因此会导致输出的图片与实际图片大小不一致,且容易导致图片数据损坏。
▲ 图源 Powershell
▲ 图片之间的大小差异情况
据悉,这个 Bug 已经存在十年之久,而微软目前已经在 Powershell 7.4 Preview 4 中解决这个问题,目前该版本已经在 GitHub 中发布,有需要的IT之家小伙伴们。
特别声明:以上内容(如有图片或视频亦包括在内)为自媒体平台“网易号”用户上传并发布,本平台仅提供信息存储服务。
Notice: The content above (including the pictures and videos if any) is uploaded and posted by a user of NetEase Hao, which is a social media platform and only provides information storage services.