this post was submitted on 28 Mar 2025
11 points (100.0% liked)

Python

6955 readers
12 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

๐Ÿ“… Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

๐Ÿ Python project:
๐Ÿ’“ Python Community:
โœจ Python Ecosystem:
๐ŸŒŒ Fediverse
Communities
Projects
Feeds

founded 2 years ago
MODERATORS
 

cross-posted from: https://lemm.ee/post/59714239

Some custom filter kernel to average out values from a chunk of pixels with some kind of "border aware" behaviour?

top 2 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 6 points 6 days ago (1 children)

Square it up and crop the image, or just scan it and re-encode the content.

[โ€“] [email protected] 4 points 6 days ago

scanning and re-encoding is the way if you don't care about the exact image or pattern