[WordPress] 外掛分享: Smart Image Crop AI

首頁外掛目錄 › Smart Image Crop AI
10+
安裝啟用
尚無評分
1533 天前
最後更新
問題解決
WordPress 5.1.0+ PHP 5.4+ v1.0 上架:2022-01-05

內容簡介

若您的WordPress網站裁切了某些圖片尺寸,則此外掛或許會對您有所幫助。此外掛使用機器學習自動找出圖片的主要焦點,然後進行裁切,不受裁切比例的限制。

功能

自動裁切為圖片的「主要焦點」,不論是臉或物品。
在保存之前預覽智慧裁切。
選擇多個圖片以進行智慧裁切,或選擇顯示的所有圖片進行智慧裁切。
使用無限滾動加載載入盡可能多的圖片(如媒體庫)。
在附件頁面上使用智慧裁切按鈕智慧裁切特定附件的圖片尺寸。
兼容縮略圖重新生成和圖片優化外掛(但請參閱下文)。

如何運作?

此外掛使用Google Cloud Vision API猜測圖片的完美裁切。它需要一個Google Cloud Vision API密鑰,免費且可以在此處獲得。截至2022年,每月首1000次請求是免費的。如果您需要更多,您需要向Google支付費用(即您需要提供信用卡)。

我可以一次自動智慧裁切所有圖片嗎?

是和否。您可以滾動頁面以加載所有符合條件的圖片,然後選擇全部圖片,點擊「保存並覆蓋」。此長時間運行的操作可能會超時,或者您可能會用完Google的計費點數。如果出現這種情況,只需刷新頁面,未進行智慧裁切的圖片將被重新顯示。祝好運!

它與圖片優化外掛兼容嗎?

是的,但您可能需要重新壓縮任何智慧裁切的圖片。如果一張智慧裁切的圖片是基於已經壓縮的圖片得出的,那它本來就很小了。TinyPNG會跟踪哪些圖片在壓縮後發生了變化,以便您可以重新壓縮它們。Smush和Shortpixel不會這樣做。

它與WebP兼容嗎?

現在還不是。我計劃在未來版本中包括對WebP圖片的自動智慧裁切。

它與Retina兼容嗎?

現在還不是。我計劃在未來版本中包括對Retina圖片的自動智慧裁切。

它可以在上傳圖片時自動智慧裁切嗎?

我有意避免與其他圖片外掛產生衝突,因此故意刪除了此功能。我可能稍後會添加它。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Smart Image Crop AI」→ 直接安裝(推薦)

原文外掛簡介

If your WordPress website crops certain image sizes, you may find this plugin useful. This plugin uses machine learning to automatically find the main focus of an image, and crop to that, regardless of the crop ratio.
Features

Automagically crop to the “main focus” of an image, whether a face or object.
Preview smart crops before saving them.
Select multiple images to smart crop or select all displayed.
Load as many images as you want with infinite scroll loading (like Media library).
Smart crop a specific attachment’s image sizes with a smart crop button on the attachment page.
Compatible with thumbnail regeneration and image optimization plugins (but see below).

How Does It Work?
This plugin uses the Google Cloud Vision API to guess the perfect crop for an image. It requires a Google Cloud Vision API key, which is free and can be acquired here. As of 2022, the first 1000 requests per month are free. If you need more that is between you and our Google overlords (i.e. you’ll need to give them your credit card).
Can I automatically smart crop all images at once?
Yes and no. You can load all of the eligible images in the tool by scrolling down until they’re all on the page, then selecting all and clicking “save and overwrite”. This long-running operation may time out, or you may run out of credits with Google. If so, just refresh the page and only the un-smart cropped images will be displayed. Good luck!
Is it Compatible With Image Optimization Plugins?
Yes, but you may need to recompress any smart cropped images. If a smart cropped image is derived from an image that is already compressed, it is likely to be fairly small anyway. TinyPNG keeps track of what images have changed after compression so you can recompress them. Smush and Shortpixel do not.
Is it Compatible with WebP?
Not yet. I plan to include automatic smart cropping of webp images in a future version.
Is it Compatible with Retina?
Not yet. I plan to include automatic smart cropping of retina images in a future version.
Can it automatically smart crop on image upload?
I have deliberately left out this feature to avoid conflict with other image plugins. I may add it later.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon