Skip to content

The great refactoring of 2021 + Better non-inverted output support

Latest
Compare
Choose a tag to compare
@user-simon user-simon released this 19 Oct 11:58
· 7 commits to main since this release
  • Refactored the code to use more explicit datatypes such as uint32_t and std::filesystem::path
  • Changed the output logic to iteratively write to the output file instead of writing to a buffer to reduce memory consumption
  • Added a special case for when the alpha channel of a sampled pixel is 0 to make sure empty pixels are always the blank-space character, regardless of if the output is inverted. This should greatly reduce general noise in non-inverted outputs
  • Added a build-system in the form of premake. Should probably use cmake instead since it has a larger user base
  • Removed feature to specify parameters directly through the command-line arguments since the messy code required for parsing far out-weighs the utility of such a feature
  • General code improvements and cleanups