{
  "path": "/posts/releases/jpegli",
  "site": "at://did:plc:ephkzpinhaqcabtkugtbzrwu/site.standard.publication/3mdogbputbg2m",
  "$type": "site.standard.document",
  "title": "Easy image minification",
  "description": "I wrote the `jpegli` CLI tool to quickly reduce the pixel- and byte-size of images for my blog, using JPEGli compression.",
  "publishedAt": "2024-10-11T09:24:33.000Z",
  "textContent": "I've not written anything substantial here in _some time_, and sadly that's not going to change today!\n\nI do have a mini-announcement about a tool I built for image posting here though — I've released the jpegli command line tool which:\n\n- Ensures the image is no larger than 2048×1920px (maintaining aspect ratio)\n- Compresses the image with the impressive JPEGli algorithm\n\nJPEGli is a (relatively) new way of producing JPEG images but at significantly smaller file sizes (with no real noticeable difference). The end up _roughly_ the size of WebP images, but (being JPEG images) they're readily understood _everywhere_.\n\nIf this sounds useful then you can download for mac/linux/windows from github or you can do any of the following\n\nDo let me know if you use it, or would like to see some improvements/changes to how it works. It's very basic at the moment!",
  "canonicalUrl": "https://www.byjp.me/posts/releases/jpegli"
}