Generate srcset images for a variety of resolutions from OCaml
1(lang dune 3.21)
2(name srcsetter)
3
4(generate_opam_files true)
5
6(license ISC)
7(authors "Anil Madhavapeddy")
8(maintainers "Anil Madhavapeddy <anil@recoil.org>")
9(source (tangled anil.recoil.org/srcsetter))
10
11(package
12 (name srcsetter)
13 (description "Srcsetter is a library that allows for handling 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, and the `srcsetter-cmd` package to generate the input to this library.")
14 (synopsis "Image srcset library for webp images")
15 (depends
16 (ocaml (>= 5.1))
17 jsont
18 bytesrw))
19
20(package
21 (name srcsetter-cmd)
22 (synopsis "Image processing tool to generate responsive images")
23 (description "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.")
24 (depends
25 (ocaml (>= 5.1))
26 srcsetter
27 fpath
28 progress
29 cmdliner
30 eio
31 eio_main))