diff options
| author | Jad <[email protected]> | 2023-03-09 11:43:09 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-03-09 11:43:09 +0800 |
| commit | f6b515ead559a33df7fa07125723ef14242feeb0 (patch) | |
| tree | 07c03da47f35afb868356f88cc1e58f040f09c66 /utils/themify.js | |
| parent | perf: Delayed writing to database (diff) | |
| parent | feat: render images as pixelated (diff) | |
| download | counter-f6b515ead559a33df7fa07125723ef14242feeb0.tar.xz counter-f6b515ead559a33df7fa07125723ef14242feeb0.zip | |
Merge pull request #26 from flazepe/patch-1
feat: render images as pixelated
Diffstat (limited to 'utils/themify.js')
| -rw-r--r-- | utils/themify.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/themify.js b/utils/themify.js index 2db9886..5487a83 100644 --- a/utils/themify.js +++ b/utils/themify.js @@ -53,7 +53,7 @@ function getCountImage({ count, theme='moebooru', length=7 }) { }, '') return `<?xml version="1.0" encoding="UTF-8"?> -<svg width="${x}" height="${y}" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> +<svg width="${x}" height="${y}" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="image-rendering: pixelated;"> <title>Moe Count</title> <g> ${parts} @@ -64,4 +64,4 @@ function getCountImage({ count, theme='moebooru', length=7 }) { module.exports = { getCountImage -}
\ No newline at end of file +} |