gitea/web_src/js/features/comp
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
..
ColorPicker.js JS refactors (#22227) 2022-12-24 00:03:11 +08:00
ComboMarkdownEditor.js Focus editor on "Write" tab click (#26714) 2023-08-25 13:26:32 +08:00
ConfirmModal.js Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
EasyMDEToolbarActions.js Fix EasyMDE toolbar (#24489) 2023-05-03 01:23:39 -04:00
ImagePaste.js Downscale pasted PNG images based on metadata (#29123) 2024-02-19 02:23:06 +00:00
LabelEdit.js Allow to archive labels (#26478) 2023-08-14 11:56:14 +02:00
QuickSubmit.js Remove jQuery from the "quick submit" handler (#29200) 2024-02-16 21:03:50 +01:00
ReactionSelector.js Use fetch helpers instead of fetch (#27026) 2023-09-19 00:50:30 +00:00
SearchUserBox.js Improve user search display name (#29002) 2024-02-01 17:10:16 +00:00
TextExpander.js Update JS dependencies, remove space after emoji completion (#25266) 2023-06-18 08:38:47 +00:00
WebHookEditor.js Remove jQuery from the webhook editor (#29211) 2024-02-17 13:17:04 +00:00