nayuki/PNG-library
View on GitHub ↗ ★ 51 Java
Easy, safe, flexible Java library to decode and encode PNG image files
3 mentions on Hacker News by 1 person: 0 stories, 3 comments · first 2023-01-18 · latest 2023-03-06
20082026
-
…/github.com/nayuki/QR-Code-generator/blob/2643e824eb1... ). For example, 1 <= Png.Ihdr.width < 2^31 ( https://github.com/nayuki/PNG-library/blob/536acb238f9c000e2... ). Neither Java int nor C uint32_t capture these constraints properly.
comment by nayuki · 2023-03-06 · in Unsigned int considered harmful for Java (2014) -
…evaluation order, not lexical order. I found myself needing to work around the limitation recently: https://github.com/nayuki/PNG-library/blob/b92cedc23b1fc32d5...
comment by nayuki · 2023-01-23 · in JEP draft: No longer require super() and this() to appear first in a constructor -
…test of time. You can find my modern Java PNG library at: https://www.nayuki.io/page/png-library , https://github.com/nayuki/PNG-library I also made a web-based tool to dissect PNG files and show all the fields and errors:…
comment by nayuki · 2023-01-18 · in Hello, PNG