简体   繁体   English

在Android Image Asset Studio中删除灰色和白色方格背景

[英]Removing Grey and White Chequered background in Android Image Asset Studio

I am trying to remove the Grey and White Chequered background from a launcher icon jpg file using Android Studio's Image Asset.But no luck so far. 我正在尝试使用Android Studio的图像资产从启动器图标jpg文件中删除“灰色和白色格仔”背景。 Is there any way to do this? 有什么办法吗?

below is the Background : 以下是背景:

在此处输入图片说明

The checkerboard background is for transparency. 棋盘背景是透明的。 Same happens in paint.net. 在paint.net中也是如此。 If you end up with transparency, you get a checkerboard like that of white and grey. 如果最终获得透明效果,则会得到一个白色和灰色的棋盘格。

It is technically not a background, you don't actually see that in the launcher. 从技术上讲,这不是背景,您实际上不会在启动器中看到它。 Alpha shows as a checkerboard to ensure you know you are seeing alpha. Alpha显示为棋盘格,以确保您知道自己正在看到Alpha。 If you install it on a device, you can see what is "under" the launcher icon. 如果将其安装在设备上,则可以看到启动器图标“下方”的内容。 If your icon is 256x256, and has a 10x10 square of transparency in the middle, you will see a checkerboard there too. 如果您的图标是256x256,并且中间有10x10的透明方块,那么您也会在其中看到一个棋盘格。 If you then launch it on the device and check the launcher, you will see that there is a see-through hole in the middle. 如果随后在设备上启动它并检查启动器,您会发现中间有一个透明孔。

Basically, the checkerboard isn't a background - it is transparency. 基本上,棋盘不是背景-它是透明的。

With the exception of the times where you actually create a checkerboard on purpose, but that can then be deleted by modifying the .png file 除了实际实际创建棋盘格的时间以外,可以通过修改.png文件将其删除

Right-click on image, form the menu that pops up select Hide Chessboard. 右键单击图像,形成弹出菜单,选择“隐藏棋盘”。 隐藏棋盘

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM