Skip to main content
Source Link
André
  • 2.2k
  • 14
  • 32

Good work so far! Solving the challenge in C is definitely harder than in python. You already found that libpng is the external library you need to access the raw data. You are almost done. Consider using the pbm file format to output the bits of the second task. It then boils done to writing the extracted width and height (you already have) into the header and the zeros and ones into the lines.