Skip to content

roaxcean/prism

 
 

Repository files navigation

Project Header

prism is, now, a spiritual fork of Transparent-Pixel-Fix project by Corecii, is it any better? you tell me

it processes images to remove that nasty "black border" with semi-transparent images, as most image editors tend to tint it black

it's mostly tailored for roblox creators, i might make a web version sometime in the future


Project Header

npm install this

npm run build that

and bring up the magic menu by running node dist/prism.js --help

Usage: prism [options] [files...]

Probably Repairs Inconsistent Semi-transparency

Arguments:
files                  Images to process (.png, .webp, .avif)

Options:
-V, --version          output the version number
-f, --folder <path>    Process all supported images in a folder
-r, --recursive        Scan folders recursively (requires -f) (default: false)
-s, --suffix <suffix>  Suffix appended to processed filenames before the extension (default: "fixed")
-c, --concurrency <n>  Number of files to process simultaneously
-h, --help             display help for command

im sure there are many ways to improve it, so do open an issue or hmu on discord if you do have any ideas

thaank youuuu x

About

Prism — Replaces black-tinted transparent pixels with matching nearest neighbours.

Resources

License

Stars

Watchers

Forks

Contributors

Languages

  • TypeScript 78.6%
  • JavaScript 21.4%