gitea/web_src/js
silverwind 5e72526da4
Downscale pasted PNG images based on metadata (#29123)
Some images like MacOS screenshots contain
[pHYs](http://www.libpng.org/pub/png/book/chapter11.html#png.ch11.div.8)
data which we can use to downscale uploaded images so they render in the
same dppx ratio in which they were taken.

Before:

<img width="584" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/50979e3a-5d5a-40dc-a0a4-36eb6e28f14a">

After:

<img width="329" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/0690902a-f2fe-4c6b-97b3-6fdd67c21bad">
2024-02-19 02:23:06 +00:00
..
components Artifact deletion in actions ui (#27172) 2024-02-18 10:33:50 +00:00
features Downscale pasted PNG images based on metadata (#29123) 2024-02-19 02:23:06 +00:00
markup Remove jQuery from the comment task list (#29170) 2024-02-15 13:27:07 +00:00
modules Refactor request function (#29187) 2024-02-16 13:27:00 +00:00
render
standalone
utils Downscale pasted PNG images based on metadata (#29123) 2024-02-19 02:23:06 +00:00
vendor
webcomponents Fix gitea-origin-url with default ports (#29085) 2024-02-08 02:37:09 +00:00
bootstrap.js Avoid duplicate JS error messages on UI (#28873) 2024-01-21 14:23:08 +00:00
bootstrap.test.js Avoid duplicate JS error messages on UI (#28873) 2024-01-21 14:23:08 +00:00
htmx.js Auto-update the system status in admin dashboard (#29163) 2024-02-16 02:52:25 +00:00
index.js Remove unneccesary initUserAuthLinkAccountView from "link account" page (#29217) 2024-02-17 18:51:35 +01:00
jquery.js
svg.js Artifact deletion in actions ui (#27172) 2024-02-18 10:33:50 +00:00
svg.test.js
utils.js
utils.test.js
vitest.setup.js Move vitest setup file to root (#29097) 2024-02-08 20:07:02 +08:00