[WordPress] 外掛分享: Strip Image Metadata for JPG and WEBP

首頁外掛目錄 › Strip Image Metadata for JPG and WEBP
WordPress 外掛 Strip Image Metadata for JPG and WEBP 的封面圖片
200+
安裝啟用
★★★★★
5/5 分(1 則評價)
106 天前
最後更新
問題解決
WordPress 6.0+ PHP 8.0+ v1.4.2 上架:2023-08-10

內容簡介

外掛總結:
- 這個外掛基於 Samiff 和「WP Strip Image Metadata」的工作。
- 如果您正在尋找一個簡單的外掛來刪除所有圖片的元數據,您應該安裝這個外掛。
- 該外掛通過擴展「WP Strip Image Metadata」的功能提供以下功能:
- 處理 WEBP 圖片。
- 在 JPG 和 WEBP 圖片中設置/添加/更改版權、藝術家或信用信息。
- 設置去除元數據的上限尺寸。所有寬度大於此尺寸的文件都不會被去除元數據。
- 在圖片編輯面板中顯示更多信息。
- 設置 Imagick(3.4.4)和 Gmagick(2.0.5)的最低版本以處理文件(Gmagick 功能仍受限制)。

問題與答案:
- 這個外掛是基於哪些工作的?
- 這個外掛是基於 Samiff 和「WP Strip Image Metadata」的工作。

- 這個外掛的功能有哪些擴展?
- 這個外掛的功能擴展包括:
- 處理 WEBP 圖片。
- 在 JPG 和 WEBP 圖片中設置/添加/更改版權、藝術家或信用信息。
- 設置去除元數據的上限尺寸。
- 在圖片編輯面板中顯示更多信息。
- 設置 Imagick 和 Gmagick 的最低版本。

- 這個外掛是否需要準備版權模板文件?
- 是的,這個外掛需要準備版權模板文件。

- 如何使用 exiftool 去除所有元數據?
- 您可以使用以下命令行操作:
- exiftool.exe -all= ./yourfile.jpg -o copyright.jpg
- exiftool.exe -all= ./anotherfile.webp -o copyright.webp

- 如何使用 exiftool 添加版權元數據?
- 您可以使用以下命令行操作:
- exiftool.exe -copyright="Copyright by User of the Plugin and Site" ./copyright.jpg
- exiftool.exe -artist="User of the Plugin and Site" ./copyright.jpg

- 這個外掛需要哪些 PHP 擴展?
- 這個外掛需要「Imagick」或「Gmagick」PHP 擴展。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.4.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Strip Image Metadata for JPG and WEBP」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This Plugin is based on the work of Samiff and the Plugin “WP Strip Image Metadata”. If you are looking for a simple Plugin to strip all Metadata you should install this one. Available from the WordPress.org plugin repository here: https://wordpress.org/plugins/wp-strip-image-metadata/
This Plugin extends the Functionality of “WP Strip Image Metadata” with the following Functions:
Extended Functionality

Handle AVIF and WEBP-Images, too.
set / add / change Copyright, Artist or Credit Information in JPG and WEBP images Files.
Set an upper Size Limit for the Stripping. All Files with Width greater than Size Limit won’t be stripped.
Show some more Information in the Image Edit Panel
Set a Minimum version for Imagick (3.4.4) and Gmagick (2.0.5) to handle files at all. Gmagick is still limited in functionality.

Preparation of Copyright Template Files
Both Imagick and Gmagick do not allow to set EXIF-Metadata directly. The author of this plugin does not know an Open Source PHP or WordPress Function with appropriate License to set metadata in an Image File. So a Template File is used that has to be prepared by the user. It’s only possible to use one template File for
one Artist, only! The Plugin uses one Template File for the whole site. So, if you are on a Multi-User-Site this Plugin is not for you.

Prepare a JPG, WEBP and AVIF File with very small size, e.g. 100×100 or so. Image dimensions do not matter, here.

Strip all Metadata with exiftool (current version writes avif and webp, too):
exiftool.exe -all= ./yourfile.jpg -o copyright.jpg
exiftool.exe -all= ./anotherfile.webp -o copyright.webp
exiftool.exe -all= ./aviffile.jpg -o copyright.avif

Add the Copyright (or other) EXIF-Metadata you prefer with Exiftool like so
exiftool.exe -copyright="Copyright by User of the Plugin and Site" ./copyright.jpg
exiftool.exe -artist="User of the Plugin and Site" ./copyright.jpg

The other functionality of the Plugin was not changed so the original Readme follows herafter.
Original Description
Strip image metadata on upload or via bulk action, and view image EXIF data.
WP Strip Image Metadata is a privacy focused WordPress plugin that helps in removing potentially sensitive metadata from your uploaded images.
What is image metadata?
Image metadata is extra information embedded in image files. This information is stored in a variety of formats and contains items like the model of the camera that took a photo.
However, image metadata may also contain identifying information such as the GPS location coordinates of an image taken with a smartphone for example.
This plugin provides an easy enabled/disabled setting so you can make the call on when image metadata should be removed.
Note: this plugin requires the “Imagick” or “Gmagick” PHP extension to function.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon