Get the App
SLTechnology News&Howtos  ›  IT Information  › 

Microsoft fixes the image compression Bug that exists in Powershell for ten years.

Shulou Source: shulou.com Published: 2023-11-24 17:50:57 11月23日 Update

CTOnews.com, July 3 (Xinhua) Microsoft Powershell has a decade-long "image compression" problem. Microsoft has fixed the Bug so that when you get a picture through the Powershell command, it won't cause the picture to be compressed or data corrupted.

The Powershell terminal will "objectify" the content. When obtaining pictures through the command, because these pictures url as "string objects", it will cause the output pictures to be inconsistent with the actual picture size, and easily lead to picture data corruption.

▲ diagram source Powershell

The size difference between ▲ images it is reported that this Bug has existed for 10 years, and Microsoft has solved this problem in Powershell 7.4 Preview 4. This version has been released in GitHub, and CTOnews.com friends who need it can download, install and use it.

Tags: Pictures Microsoft commands size objects data terminals questions consistency between characters strings actual internal guys partners differences situations messages versions Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Xiaomi Apple OPPO Reno Linux