Scaffolds an image optimization pipeline into your project.
Usage
mix sayfa.gen.imagesWhat it creates
scripts/optimize_images.sh— shell script using vips or ImageMagickIMAGES.md— documentation for image optimization workflow
Run the script after adding images to static/images/:
bash scripts/optimize_images.shSee IMAGES.md for details on required tools and optional Elixir-native
processing with the image hex package.