=== lassocut – Remove Background ===
Contributors: lassocut
Tags: remove background, background removal, woocommerce, product images, transparent
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Remove image backgrounds from the Media Library and from WooCommerce product images in one click.

== Description ==

lassocut removes the background of your images: products, people, animals, cars and graphics. The subject is detected automatically.

* **Media Library**: a "Remove background" link under each image (list view), and a bulk action for up to 20 images at a time.
* **WooCommerce**: a "Remove background from main image" bulk action on Products. The cut-out becomes the product image.
* **Your originals are kept.** The result is saved as a new image named `…-removebg.png` next to the original, with the same alt text.
* **Transparent or coloured background**: a transparent PNG, or a JPG on white (or any colour) for consistent product photos.
* **Preview or full size**: previews use your free monthly previews first; full size up to 25 megapixels uses 1 credit.

You need a lassocut account: sign in at [lassocut.com](https://www.lassocut.com/account/) with GitHub or Google and create an API key. Every account gets 50 free previews per month; credit packs never expire.

= External service =

This plugin sends the images you choose to the lassocut API (`https://api.lassocut.com`), operated by JAUPIN Design LLC, to remove their background. It only does so when you click "Remove background" or run the bulk action; the settings page also asks the API for your credit balance. Your API key is sent with each request. Images are processed in memory and not stored by lassocut.

* Terms: https://www.lassocut.com/legal/terms/
* Privacy: https://www.lassocut.com/legal/privacy/

== Installation ==

1. Install and activate the plugin.
2. Go to Settings > lassocut and paste your API key from https://www.lassocut.com/account/.
3. In Media > Library (list view), click "Remove background" under an image, or select several and use the bulk action.

== Frequently Asked Questions ==

= Is the original image replaced? =

No. The cut-out is a new image in the Media Library. For WooCommerce products, the cut-out becomes the main product image and the original stays in the library.

= Why is the first image slow? =

After a quiet period the processing servers wake up first; the first image can take up to a minute. The next ones take a few seconds.

= How many images can I process at once? =

Up to 20 per bulk action. For whole folders, use the free lassocut batch tool in your browser: https://www.lassocut.com/batch/

= Does it work with code written for the remove.bg API? =

The lassocut API accepts the same requests as the remove.bg API, which closes on 1 December 2026. lassocut is not affiliated with remove.bg or Canva.

== Changelog ==

= 1.0.0 =
* First release: Media Library row and bulk actions, WooCommerce product bulk action, settings with credit balance.
