简体   繁体   English

在Photoshop中以XXHDPI为基准100%时的Android导出裁剪然后如何裁剪意味着XHDPI,HDPI,MDPI,LDPI的大小

[英]Android Export Cropping When XXHDPI Taken as Baseline 100% In Photoshop Then How to crop means size of XHDPI, HDPI, MDPI, LDPI

Android Export安卓导出

XXHDPI - 100% baseLine
XHDPI - ?
HDPI - ?
MDPI - ?
LDPI - ?

Plz say anyonce of these sizes请说任何一次这些尺寸

I'm not sure, but don't you need the resolutions of the images?我不确定,但你不需要图像的分辨率吗?

If so, may I link you to Android Developer support ?如果是这样,我可以将您链接到Android 开发人员支持吗?

You can get a lot of information here: A set of six generalized densities:你可以在这里得到很多信息:一组六个广义密度:

  • ldpi (low) ~120dpi ldpi(低)~120dpi
  • mdpi (medium) ~160dpi mdpi(中)~160dpi
  • hdpi (high) ~240dpi hdpi(高)~240dpi
  • xhdpi (extra-high) ~320dpi xhdpi(超高)~320dpi
  • xxhdpi (extra-extra-high) ~480dpi xxhdpi(超高)~480dpi
  • xxxhdpi (extra-extra-extra-high) ~640dpi xxxhdpi(超超超高)~640dpi

To create alternative bitmap drawables for different densities, you should follow the 3:4:6:8:12:16 scaling ratio between the six generalized densities.要为不同密度创建替代位图可绘制对象,您应该遵循 6 种广义密度之间的3:4:6:8:12:16缩放比例。 For example, if you have a bitmap drawable that's 48x48 pixels for medium-density screens, all the different sizes should be:例如,如果您有一个用于中等密度屏幕的 48x48 像素的位图可绘制对象,则所有不同的大小应该是:

  • 36x36 (0.75x) for low-density 36x36 (0.75x) 用于低密度
  • 48x48 (1.0x baseline) for medium-density 48x48(1.0x 基线)用于中等密度
  • 72x72 (1.5x) for high-density 72x72 (1.5x) 用于高密度
  • 96x96 (2.0x) for extra-high-density 96x96 (2.0x) 用于超高密度
  • 180x180 (3.0x) for extra-extra-high-density 180x180 (3.0x) 用于超高密度
  • 192x192 (4.0x) for extra-extra-extra-high-density (launcher icon only; see note above) 192x192 (4.0x) 用于超超高密度(仅限启动器图标;请参阅上面的注释)

Image example:图片示例:

mdpi 基线的图像示例

Now, lets post this, and calculate the rest!现在,让我们发布这个,然后计算其余的!

Edit:编辑:

I made a simple calculation with Excel我用Excel做了一个简单的计算

计算的百分比

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Android Photoshop操作可导出到mdpi hdpi xhdpi xxhdpi和xxxhdpi - Android Photoshop actions to export to mdpi hdpi xhdpi xxhdpi and xxxhdpi 按照以下描述的设计,xxxhpi,xxhdpi,xhdpi,hdpi,mdpi,ldpi上100px文本的字体大小是多少? - What will be font size of 100px text on xxxhpi, xxhdpi, xhdpi, hdpi, mdpi, ldpi as per below described design? 适用于mdpi,hdpi,xhdpi,xxhdpi的Android图像尺寸(仅纵向) - Android image size (portrait only) for mdpi, hdpi, xhdpi, xxhdpi 可绘制尺寸:LDPI,MDPI,HDPI,XHDPI,XXHDPI,XXXHDPI? - Sizes for drawable: LDPI, MDPI, HDPI, XHDPI, XXHDPI, XXXHDPI? 如何在Android中计算LDPI,MDPI,HDPI,XXHDPI,XXXHDPI的dp - How to calculate dp for LDPI,MDPI,HDPI,XXHDPI,XXXHDPI in android 在ldpi,mdpi,hdpi,xhdpi,xxhdpi中自动将sp相互转换 - Convert sp automatically to each other in ldpi, mdpi, hdpi, xhdpi, xxhdpi android mdpi,hdpi,xhdpi,xxhdpi之间的关系如何计算 - android relationship between mdpi, hdpi, xhdpi, xxhdpi how to calculate 如何在Android资产文件夹中保留hdpi,mdpi,ldpi和xhdpi文件? - How to keep hdpi,mdpi,ldpi and xhdpi files in the Android asset folder? 如何在 mdpi、ldpi、hdpi、xhdpi 中调整图像大小 - How to resize image in mdpi, ldpi, hdpi, xhdpi 可绘制ldpi / mdpi / hdpi / xhdpi文件夹的最佳位图大小是多少? - What is the optimal bitmap size for drawable ldpi / mdpi / hdpi / xhdpi folders?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM