David Jones

Results 60 comments of David Jones

One point worth knowing is that in PNG format, the "raw values" as you say are either 8-bit or 16-bit (or, in grayscale cases, 1-, 2-, or 4-). I guess...

Huh. The "root" directory should be `pypng-X.Y.Z` (eg, `pypng-0.0.18`); where are you getting this tar file and how are you extracting it / examining it?

oh yeah, that is wrong. This procedure is now somewhat automated. Looks like I implemented that the day after the 0.0.18 release. :)

It may be more subtle than I think: - [x] is github changing the name of the tarfile? No - [x] is github changing the contents of the tarfile? No

These tarfiles are create automatically by github based on the tag name.

Do you have any example images?

This is a bit of a slippery slope issue, and I felt the same when I accepted the original PR to add the lenient flag. The basic problem is "how...

(Mostly notes for my future self) A possible principle that could be adopted: - we could be lenient where it does not affect PyPNG's understanding of the PNG file itself....

`pipcat` can be used to extract just the first image (but it also removes things like the colour profile which maybe you wanted): python3 code/pipcat /Users/drj/Desktop/FY-2018-FY-2019-Proposed-CIP-Budget-Book.png > first-image.png