有没有最好的工具来缩放android工作室的多个图像。我已经尝试了Android Drawable importer和其他各种工具,但我一直收到内存不足的错误
我在Adobe illustrator中制作图像如果我导入图像用于android缩放,我会得到不同密度的图像,我认为这些密度太高了
缩放后的Adobe Illustrator结果
for l-dpi
810 x 1440
for m-dpi
1080 x 1920
for h-dpi
1620 x 2880
for xhdpi
2160 x3840
for xxhdpi
3240 x 5760
for xxxhdpi
4320 x 7680我在项目中使用的图像像素,但直到获得outOfMemoryException:
for l-dpi
151 x 270 (seven images that have these dimensions)
191 x 284 (other seven images that have these dimensions)
for m-dpi
202 x 360
255 x 379
for hdpi
303 x 540
382 x 569
xhdpi
405 x 720
510 x 759
xxhdpi
607 x 1080
765 x 1139
xxxhdpi
810 x 1440
1020 x 1519 我的项目包含许多图像,所以任何简单的方法都可以在大范围内进行适当的缩放
发布于 2018-04-27 18:49:29
除了减少大小,你显然也应该尝试将它们的位深度减少到恰好8位。默认情况下,全色是32位,大小是4倍。
https://stackoverflow.com/questions/50060738
复制相似问题