Skip to content

GitLab

  • Menu
    • Projects Groups Snippets
      Help
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 2 years ago by Daniel Firth@locallycompactOwner
  • New issue

  • Report abuse

  • New issue

  • Report abuse

Add nix flake check to test for transparency

Open

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.

  1. Oh no!

    You are trying to upload something other than an image. Please upload a .png, .jpg, .jpeg, .gif, .bmp, .tiff or .ico.

    Incoming!

    Drop your designs to start your upload.

Linked issues
0

Related merge requests

  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
0 Assignees
None
Assign to
None
Milestone
None
Assign milestone
None
Time tracking
Due date
None
None
0
Labels
None
Assign labels
  • No matching results
  • Manage project labels
Confidentiality
Not confidential

You are going to turn on confidentiality. Only team members with at least Reporter access will be able to see and leave comments on the issue.

Lock issue
Unlocked
participants
Reference:

Menu

Projects Groups Snippets
Help