# 对从剪贴板粘贴的图像自动应用缩放比例

**URL:** <https://meta.discourse.org/t/automatically-apply-scaling-factor-to-images-pasted-from-clipboard/278889>\
**Category:** Feature\
**Created:** [2023年九月13日 14:42 UTC](https://meta.discourse.org/t/automatically-apply-scaling-factor-to-images-pasted-from-clipboard/278889 "2023-09-13T14:42:35Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [2023年九月13日 17:52 UTC](https://meta.discourse.org/t/automatically-apply-scaling-factor-to-images-pasted-from-clipboard/278889/6 "2023-09-13T17:52:35Z")

</div>

> [@david](#):
>
> 我也发现了[这个 gist](https://gist.github.com/jorilallo/23282a4887ab8ef166182c1dab1677f0)，也许会有用。

我也在研究解析 PNG 的前几个字节，用于[远程动画 PNG 失去动画](https://meta.discourse.org/t/remote-animated-png-lose-their-animation/276435)，所以我们在这里有多个使用钩子的场景。

---

_[View the full topic](https://meta.discourse.org/t/automatically-apply-scaling-factor-to-images-pasted-from-clipboard/278889)._
