Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • icon-pack icon-pack
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • detailing
  • icon-packicon-pack
  • Issues
  • #1

Closed
Open
Created Jul 30, 2022 by locallycompact@locallycompactOwner

Add nix flake check to test for transparency

Running pngcheck -v bitwig.png prints the output

File: bitwig.png (41867 bytes)
  chunk IHDR at offset 0x0000c, length 13
    768 x 768 image, 32-bit RGB+alpha, non-interlaced
  chunk bKGD at offset 0x00025, length 6
    red = 0x00ff, green = 0x00ff, blue = 0x00ff
  chunk IDAT at offset 0x00037, length 8192
    zlib: deflated, 32K window, default compression
  chunk IDAT at offset 0x02043, length 8192
  chunk IDAT at offset 0x0404f, length 8192
  chunk IDAT at offset 0x0605b, length 8192
  chunk IDAT at offset 0x08067, length 8192
  chunk IDAT at offset 0x0a073, length 772
  chunk IEND at offset 0x0a383, length 0

We can parse this in haskell and add a flake check that makes sure all pngs have the correct alpha channel data.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking