Skip to content

make_picture_lighter

Makes a picture on this site’s disk lighter for phones, in its place: no side over 2400 pixels, saved again smaller, under the same key. Typed inside bash, where help make_picture_lighter prints the same.

Usage: make_picture_lighter KEY
Makes a picture on this site's disk lighter for phones, in its place:
no side over 2400 pixels, saved again smaller, under the same
key. Every page that shows it shows the lighter copy at once, with
nothing to publish. Where the site keeps the owner's own file, that
file is kept as it was. `list_files` says how big each picture is.
Options:
--key TEXT (required)
The picture's key, as `list_files` gives it.
--json OBJECT
Every argument at once, as one JSON object; --json - reads it from stdin.