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

原图太大,如何处理? #57

Closed
vincent4j opened this issue Jun 29, 2014 · 2 comments
Closed

原图太大,如何处理? #57

vincent4j opened this issue Jun 29, 2014 · 2 comments

Comments

@vincent4j
Copy link
Contributor

在 google 原始页面中的图片都是 xhdpi 尺寸的,超级大;那如何变小呢?

原始图片链接如:
http://material-design.storage.googleapis.com/images/components-switches-checkbox-switches_07a_large_xhdpi.png

操作:
将最后的 xhdpi 改成 mdpi,形如:
http://material-design.storage.googleapis.com/images/components-switches-checkbox-switches_07b_large_mdpi.png

也就是说,google 服务器上存放了多套尺寸的图片。

@isnofate
Copy link
Contributor

isnofate commented Feb 2, 2015

发现现在的图片路径里加了hash, 没办法通过改链接的方式找mdpi的图片了, 例如:

http://material-design.storage.googleapis.com/publish/v_2/material_ext_publish/0Bx4BSt6jniD7SE1HYTloZG5mNUE/patterns_errors_userinput1.png

直接传原图还是用工具缩放下?

@awong1900
Copy link
Contributor

现在是个什么做法?

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

3 participants