summary refs log tree commit diff
path: root/bin/gfx (unfollow)
Commit message (Collapse)Author
2018-03-02Clean up more glitch code from pngoJune McEnroe
2018-03-02Refactor critical chunk check into skipChunkJune McEnroe
2018-03-02Add -a -d -p options to glitchJune McEnroe
2018-03-02Remove unnecessary parts of glitchJune McEnroe
2018-03-02Copy glitch from pngoJune McEnroe
2018-03-02Skip chunks by reading in pngoJune McEnroe
Pipes.
2018-03-02Add verbose flag to pngoJune McEnroe
I don't like verbose flags but I want to see what pngo manages to do.
2018-03-01Run pngo on screenshots with supJune McEnroe
2018-03-01Use "Broken Gray" htop colorsJune McEnroe
Gray is broken on FreeBSD with TERM=xterm-256color...
2018-02-28Use memmove in pngo where neededJune McEnroe
2018-02-28Open watch files O_CLOEXECJune McEnroe
Thankfully kqueue is CLOEXEC by default it seems.
2018-02-28Clean up pngoJune McEnroe
Big difference is changing lines from an array of structs containing pointers into data to an array of pointers to structs pointing directly into data.
2018-02-28Set Light terminal white to Gruvbox fg3June McEnroe
2018-02-28Add gfxx to READMEJune McEnroe
2018-02-28Clean up gfxx and add default paletteJune McEnroe
The palette was generated in Rust: extern crate hsl; fn main() { for i in 0..256 { let h = i as f64 * 360.0 / 256.0; let hsl = hsl::HSL { h, s: 1.0, l: 0.5 }; let (r, g, b) = hsl.to_rgb(); println!("0x{:02X}{:02X}{:02X},", r, g, b); } }
2018-02-27Print message in gfx/noneJune McEnroe
2018-02-27Check revents with &June McEnroe
2018-02-25Remove jrpJune McEnroe
It was fun.
2018-02-25Tweak watch exit codesJune McEnroe
2018-02-25Clean up klonJune McEnroe
2018-02-24Replace cmcenroe.me with causal.agencyJune McEnroe
2018-02-23Clean up xxJune McEnroe
There are probably like 12 commits with this title.
2018-02-23Clean up wakeJune McEnroe
2018-02-23Avoid unnecessary FDs in errorsJune McEnroe
2018-02-23Clean up pbdJune McEnroe
Seems probably a good idea to CLOEXEC sockets.
2018-02-23Clean up fbclockJune McEnroe
You can't use the return value of gzerror to check if an error occurred or not. Its implementation actually checks if the internal error is NULL and returns the empty string if it is! This is stupid and unhelpful, so check gzeof first since its return value actually means something.
2018-02-23Don't bother checking result of close(2) in dtchJune McEnroe
2018-02-23Tweak fbatt exit codesJune McEnroe
2018-02-23Clean up dtch (again, probably)June McEnroe
Mostly changes to exit codes and renaming len to size. Also no more writeAll.
2018-02-23Return NOINPUT on execvp failureJune McEnroe
2018-02-23Return EX_OSFILE in briJune McEnroe
2018-02-22Rewrite briJune McEnroe
2018-02-22Exit cleanly from hnel on LinuxJune McEnroe
Okay the change that actually does that is checking revents == POLLIN.
2018-02-22Abort on other values of enums in pngoJune McEnroe
2018-02-22Fix zlib types on 32-bitJune McEnroe
2018-02-21Git config merge.conflictStyle diff3June McEnroe
This is probably a good idea, though I haven't run into a merge conflict yet.
2018-02-21Switch to and vendor Go Mono fontJune McEnroe
Go Mono is almost identical to Luxi Mono (same designers) but MIT-licensed. From https://go.googlesource.com/image font/gofont/ttfs.
2018-02-20Add unistd.h include to pngo.cJune McEnroe
Where getopt properly lives.
2018-02-20Take multiple inputs to pngoJune McEnroe
2018-02-20Reduce bit depth in pngoJune McEnroe
2018-02-20Always use None filter for indexed or bit depth < 8June McEnroe
2018-02-19Add pngo command line optionsJune McEnroe
2018-02-19Clean up pngo optimization functionsJune McEnroe
2018-02-19Index color if possible in pngoJune McEnroe
2018-02-19Read and write palette in pngoJune McEnroe
2018-02-18Add pngo to READMEJune McEnroe
2018-02-18Always dump truecolor PNG in gfxxJune McEnroe
pngo can handle reducing it to grayscale.
2018-02-18Eliminate redundant color in pngoJune McEnroe
2018-02-18Just globalize all the things in pngoJune McEnroe
2018-02-17Tweak pngo codeJune McEnroe