Skip to content

Cif - 1.1

Compare
Choose a tag to compare
@emcconville emcconville released this 24 Jun 01:29
· 10 commits to master since this release
1.1

Feature Release

New Things

  • Added HSL color function support for -inputColor arguments.
    Example. hsl(50, 100%, 50%) and hsla(50, 100%, 50%, 0.5)
  • Added RGB color function support for -inputColor arguments.
    Example. rgb(16, 255, 127) and rgba(16, 255, 127, 0.5)
  • Added STDIN & STDOUT keywords for awesome piping.
    cat myImage.png | cif CIDotScreen -inputImage STDIN and cif CIDotScreen -inputImage myImage.png STDOUT > redirect.png
  • Allow filter chaining for multiple effects. Note: all filter names will need the full -filter flag to separated arguments between effects.
     cif -filter CIColorInvert -inputImage base.tiff \
         -filter CIMaskToAlpha \
         -filter CICircularScreen -size 40x40 \
         out.png

Fixed Things

  • Tab compilation doesn't fill your CLI buffer with R charters.
  • Index error on input images of filename is under 6 characters.

Debt Things

  • Migrated hex color from input block to protocol class constructor.
  • Migrated one-time color helper blocks to CIColor class.
  • Created quantize helper to manage convert degree, 8bit, percentage, and decimal numbers to a common 0.0 ~ 1.0 quantum.
  • NSScanners everywhere. They are good.

Pre-build binary

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)

iQEcBAABAgAGBQJVigIlAAoJEFvblFhaQ2Mt0EQH/idvNeV5+zF2I1mQ2Df955eM
f0+bDNViJWKTHTM0msC6Fzg8cA5BDqJTbpGpZzC2RmYl4JU/XcREx0NHjaWZ3BWh
BEsVsNkknFoeqg7hVDZHqsAExVpPJSRBHnEIO+uYnvw80aBR31XdTZ8FhVuVIddi
HyxqqOozQ7fv4uOUzNPO6X8nH+nan4xzMJ070ecZMguormKxm7cDzXsXyzCIE4qb
DMKsek0XFXJR/IGGmjrkUrat/eo+vwxTdKqbHfa2vwQkVF3a8r50Kgk6jnc7+pkd
Rz18XKXXRCoJhCt3nNDLZctfvh8b44UtHvF43LYskeqivbvDN2gtwJG2IAtiKzM=
=43Wa
-----END PGP SIGNATURE-----