Generate srcset images for a variety of resolutions from OCaml
at main 47 lines 1.4 kB view raw
1# This file is generated by dune, edit dune-project instead 2opam-version: "2.0" 3synopsis: "Image processing tool to generate responsive images" 4description: 5 "Srcsetter is a CLI tool that processes a directory of images and outputs a directory of responsive images suitable for embedding as `<img srcset` tags in a website. It uses the ImageMagick CLI tool to handle the actual processing of images." 6maintainer: ["Anil Madhavapeddy <anil@recoil.org>"] 7authors: ["Anil Madhavapeddy"] 8license: "ISC" 9homepage: "https://tangled.org/anil.recoil.org/srcsetter" 10bug-reports: "https://tangled.org/anil.recoil.org/srcsetter/issues" 11depends: [ 12 "dune" {>= "3.21"} 13 "ocaml" {>= "5.1"} 14 "srcsetter" 15 "fpath" 16 "progress" 17 "cmdliner" 18 "eio" 19 "eio_main" 20 "odoc" {with-doc} 21] 22build: [ 23 ["dune" "subst"] {dev} 24 [ 25 "dune" 26 "build" 27 "-p" 28 name 29 "-j" 30 jobs 31 "@install" 32 "@runtest" {with-test} 33 "@doc" {with-doc} 34 ] 35] 36dev-repo: "git+https://tangled.org/anil.recoil.org/srcsetter" 37x-maintenance-intent: ["(latest)"] 38depexts: [ 39 ["imagemagick"] {os-distribution = "homebrew"} 40 ["imagemagick"] {os-family = "debian"} 41 ["imagemagick"] {os-family = "fedora"} 42 ["imagemagick"] {os-family = "arch"} 43 ["imagemagick"] {os-family = "alpine"} 44] 45post-messages: [ 46 "This package requires ImageMagick to be installed for image processing." 47]