Error in opening png files crc error in chunk idat

Spread the love

I was copying a bunch of png files to a separate folder, which I was going to gzip and then move to a different system. I was able to do that, but all those png files that I transferred are giving a crc error in chunk idat. All these images are actually screenshots. I am able to take new screenshots but all of those which I had transferred have a png error in them. I am facing this issue on both the origin and the destination where I transferred them.
According to this answer : Fatal error reading PNG image file: Not a PNG file
I have tried reinstalling libpng12-dev and libpng12-0, but it does not work.
Here is the detailed output of a png file that I am unable to open:
$ pngcheck -v myfile.png
File: myfile.png (80028 bytes)
chunk IHDR at offset 0x0000c, length 13
1090 x 306 image, 24-bit RGB, non-interlaced
chunk sBIT at offset 0x00025, length 3
red = 8 = 0x08, green = 8 = 0x08, blue = 8 = 0x08
chunk tEXt at offset 0x00034, length 25, keyword: Software
chunk IDAT at offset 0x00059, length 8192
zlib: deflated, 32K window, default compression
CRC error in chunk IDAT (computed 550cf20e, expected 24c50000)
ERRORS DETECTED in myfile.png

I have also tried opening these files with Google-Chrome, I can see only 20% of the image, rest of the image is clipped with a green line.
Is there a way I can solve this ?
OS_version : Ubuntu 16.04

X ITM Cloud News


Leave a Reply

Next Post

Installing/Uninstalling WiFi Drivers on Ubuntu

Sat Sep 12 , 2020
Spread the love          I recently installed Ubuntu on my machine but I am running into a little issue : it doesn’t detect any WiFi adaptors. I think it might be because I don’t have the right drivers installed. After a little bit of researches on the Internet, I was able to […]

Cloud Computing – Consultancy – Development – Hosting – APIs – Legacy Systems

X-ITM Technology helps our customers across the entire enterprise technology stack with differentiated industry solutions. We modernize IT, optimize data architectures, and make everything secure, scalable and orchestrated across public, private and hybrid clouds.

This image has an empty alt attribute; its file name is x-itmdc.jpg

The enterprise technology stack includes ITO; Cloud and Security Services; Applications and Industry IP; Data, Analytics and Engineering Services; and Advisory.

Watch an animation of  X-ITM‘s Enterprise Technology Stack

We combine years of experience running mission-critical systems with the latest digital innovations to deliver better business outcomes and new levels of performance, competitiveness and experiences for our customers and their stakeholders.

X-ITM invests in three key drivers of growth: People, Customers and Operational Execution.

The company’s global scale, talent and innovation platforms serve 6,000 private and public-sector clients in 70 countries.

X-ITM’s extensive partner network helps drive collaboration and leverage technology independence. The company has established more than 200 industry-leading global Partner Network relationships, including 15 strategic partners: Amazon Web Services, AT&T, Dell Technologies, Google Cloud, HCL, HP, HPE, IBM, Micro Focus, Microsoft, Oracle, PwC, SAP, ServiceNow and VMware