Skip to content

sic-0.12.0-dev.0: draw-text for apply-operations

Pre-release
Pre-release
Compare
Choose a tag to compare
@foresterre foresterre released this 23 May 23:28
3e755bb

NB: All build below are built with feature 'imageproc-ops', with LTO, one codegen unit and are stripped
cargo build --release --features "imageproc-ops" && strip target/release/sic

Release notes for 0.12.0-dev.0

A change marked with ⚠️, is a breaking change

🍏 Notable additions:

  • Added imageproc dependency behind a feature flag
  • Added draw-text ("watermark") operation [requires 'imageproc-ops' feature flag]

Example usage of draw-text

sic -i resources/unsplash_763569_cropped.jpg -o target/c.png --apply-operations 'draw-text "example" coord(100,100) rgba(0,0,0,255) size(16) font("resources/font/Lato-Regular.ttf")'; 

if running from source, use cargo run --features "imageproc-ops --" instead of `sic in the above command