Skip to content

Sharpening by ProgrammerAleks

Details

AuthorProgrammerAleks

LicenseMIT

Categoryuserstyles

Created

Updated

Size431 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

A lightweight CSS filter for image sharpening.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         image-rendering: sharpen;
@version      20240128.08.32
@namespace    ?
==/UserStyle== */

@-moz-document url-prefix("http") {
img {
    filter: url('data:image/svg+xml,\
    <svg xmlns="http://www.w3.org/2000/svg">\
      <filter id="sharpen">\
        <feConvolveMatrix order="3" preserveAlpha="true" kernelMatrix="1 -1 1 -1 -1 -1 1 -1 1"/>\
      </filter>\
    </svg>#sharpen');
}
}

Reviews

No reviews yet.