Skip to main content

A very old open-source "Content-Aware Fill" method

Project description

Python library which wraps 61315's pure C implementation of resynthesizer (open-source Content-Aware Fill equivalent)

Usage:

from resynthesizer import resynthesize
from PIL import Image

source = Image.open('source.jpg')
# mask must have black background, white foreground
mask = Image.open('mask.png')
result = resynthesize(source, mask)
result.save('result.jpg')

Package repo: https://github.com/light-and-ray/resynthesizer-python-lib Pure C Implementation repo: https://github.com/61315/resynthesizer Original repo: https://github.com/bootchk/resynthesizer

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

resynthesizer-1.1.tar.gz (118.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

resynthesizer-1.1-py3-none-any.whl (119.1 kB view details)

Uploaded Python 3

File details

Details for the file resynthesizer-1.1.tar.gz.

File metadata

  • Download URL: resynthesizer-1.1.tar.gz
  • Upload date:
  • Size: 118.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.6

File hashes

Hashes for resynthesizer-1.1.tar.gz
Algorithm Hash digest
SHA256 5939eedb544c51a102c0f6dde8ae87fc8909f966dee13ccddc4eff83ceaba3e5
MD5 661ee14a776ee730bbcc6898d5ec2722
BLAKE2b-256 b392bf04899379aa93cf3b238bec89e6b43a95a1b974da00418fd514fe2ed80f

See more details on using hashes here.

File details

Details for the file resynthesizer-1.1-py3-none-any.whl.

File metadata

  • Download URL: resynthesizer-1.1-py3-none-any.whl
  • Upload date:
  • Size: 119.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.6

File hashes

Hashes for resynthesizer-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 96c97d1adb5f9973c5c8a269a548ffbe5eca4fd4474bf79ad2533e7735d22382
MD5 69b2c4fa3662f41806c3b23bf05cd036
BLAKE2b-256 730abfcb55f8688609f9f4966459607b9d5612beb77f9943ca0839d296e8c542

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page