Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ios保存图片会被压缩 #292

Closed
Sliverala opened this issue Dec 4, 2021 · 5 comments
Closed

ios保存图片会被压缩 #292

Sliverala opened this issue Dec 4, 2021 · 5 comments

Comments

@Sliverala
Copy link

如题
下载图片发现通过app下载的图片比通过pixiv网页下载的小很多
抓包看到app请求返回图片大小和通过网页保存的是一致的(app下载的只有1.5m,网页保存和这里返回的都是4.9m)
0B3C28FA-7F89-4FA1-A59B-9EAB8A687806
应该是保存到相册被ios压缩了,不知道有没有办法可以保存原图

OS:ios 1.5.1.1
app版本:1.6.8

@Notsfsssf
Copy link
Owner

给个测试插画id呗。。很明显能判断到大小被压缩的测试id,我方便测试
应该是保存到相册被ios压缩了

@Sliverala
Copy link
Author

给个测试插画id呗。。很明显能判断到大小被压缩的测试id,我方便测试
应该是保存到相册被ios压缩了

94232556
保存后大小从7.2到2.5,dpi 从96变为72

@Notsfsssf
Copy link
Owner

给个测试插画id呗。。很明显能判断到大小被压缩的测试id,我方便测试
应该是保存到相册被ios压缩了

94232556 保存后大小从7.2到2.5,dpi 从96变为72

定位到问题了,我需要重新写一下这个保存到相册的逻辑,可能更新会慢一些了

@Sliverala
Copy link
Author

非常感谢

另,试了一下官方app,发现也有一模一样的问题😂

@Notsfsssf
Copy link
Owner

已解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants