跳到内容

Takopic – Local Image Optimizer | Convert WebP & AVIF

v1.0.1

Clément Gayot · 2026年11月8日 上架

Squeezes images. Spills no ink, sends no bill. JPG, PNG, WebP and AVIF optimised on your own server, free and unlimited.

正在使用
10 以下
评分
暂无
累计下载
298
最近更新
2026年11月9日
需要 WordPress 6.2+已测试到 7.1.5PHP 8.2+

贡献者

截图

The overview: the bytes saved, the status of the images and the libraries of each format.
The overview: the bytes saved, the status of the images and the libraries of each format.
The optimisation of the media library in the background, with its progress.
The optimisation of the media library in the background, with its progress.
The delivery of WebP and AVIF on the site, and its test.
The delivery of WebP and AVIF on the site, and its test.
The settings of each format: quality, compression, library.
The settings of each format: quality, compression, library.
The status and the bytes saved of each image, in the media library.
The status and the bytes saved of each image, in the media library.

GitHub | Documentation | Changelog | Support

Takopic optimises the images of your media library with the libraries of your own server: jpegoptim, optipng or oxipng, pngquant, cwebp and avifenc, or GD and Imagick for the WebP and AVIF formats. Free and unlimited, no API key, no quota: your images never leave your server.

Optimisation

  • Compresses JPG and PNG images in place, and creates their WebP and AVIF versions, kept only when lighter.
  • Keeps the original images, to restore them at any time.
  • Strips the metadata (camera, date, GPS position), but keeps the colour profile when the colours need it.
  • Handles CMYK JPGs and the photos stored sideways.

Media library

  • Optimises the images on upload, or the whole library in the background, with pause and cancel.
  • Re-optimises the images left behind by new settings or new image sizes of the theme.
  • Shows the status, the errors and the bytes saved of each image, and optimises or restores it in one click.

On the site

  • Serves AVIF and WebP with the JPG or PNG as fallback: in a <picture> element, or from the server with rewrite rules (Apache, nginx).
  • Tests the delivery.

For developers

  • takopic_image() and takopic_image_sources() give the <picture> of an image or its srcsets, in your own templates.
  • WP-CLI: wp takopic run, clean, restore, stats and health.
  • Filters for the folder of the originals, the priority and threads of the libraries, the pace of the background jobs and the path of a library.

All of them are documented in the README on GitHub.

Privacy

  • No external request: no API, no tracking. The delivery test only requests the images of the site, from its CDN if they are served by one.
  • No metadata: the optimised images lose it, GPS position included. The originals keep it.
  • Private originals: kept in uploads/takopic/originals-{key}/, under a key drawn at random for each site. Takopic closes the folder to the web with a .htaccess on Apache and LiteSpeed; on nginx, add the rules of the Delivery tab. Test the delivery checks it on both.
  • Originals out of the web root: set their folder with the takopic_backup_dir filter, before optimising any image. Takopic does not move the originals already kept: move the folder yourself when you change it.

Credits

Takopic is developed by Clément Gayot.

It started as a fork of Squidge, created by Ainsley Clark in 2021 with contributions from Roman K, Rohinish and karbivskij, and was largely rewritten in 2026. Many thanks to them for the foundations: the idea of relying on the native libraries of the server comes from Squidge.

Thanks also to Media Optimizer by YooHW for some ideas: the menu, the delivery page, the display of the bytes saved, and more.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums