

To change the quality setting and immediately see the effect on the The dialog shows the file size for the originalĪnd the converted image. Previewing the conversion of a JPG image to WebPįigure 2 shows the original JPG image on the left and the lossy-encoded Studio skips this step and converts your images immediately.įigure 2.



If you did not choose to preview the converted images, Android The preview step, you can adjust the quality setting for each image Shows you each image during the conversion so you can inspect the Preview each converted image before saving, Android Studio If you selected lossy conversion and you chose to If you selected lossy conversion, continue to the next step. Your images are converted in their original If you selected lossless conversion, the conversion happens One image, the conversion is a single step, and can be undone to revert all TheĬonverter tool always automatically skips 9-patch images. Note: 9-patch files can't be converted to WebP images. To 18 or higher, the Skip images with transparency/alpha channelĬheckbox is automatically selected if your minSdkVersion Because Android Studio only lets youĬreate transparent WebP images if your minSdkVersion is set Version would be larger than the original or any files with transparency You can also choose to skip the conversion of any files where the encoded To preview each converted image before saving. If you select lossy encoding, set the encoding quality and choose whether Only available if your minSdkVersion is set to 18 or higher. Select either lossy or lossless encoding. The default settingsĭepend on the minSdkVersion setting for the current module. The Converting Images to WebP dialog opens. Right-click an image file or a folder containing image.To convert an image or folder of images, proceed as follows: You can convert individual images or folders of images. Selecting the correct image format to improve download speed, see Reduce imageĪndroid Studio can convert PNG, JPG, BMP, or static GIF images to WebP format. Higher to create lossless or transparent WebP images using Android Studio. In Android 4.3 and higher, your project must declare a minSdkVersion of 18 or Note: Because support for lossless and transparent WebP images is only available This page shows how to convert images to WebP format and how to convert WebP Transparent WebP images are supported in Android 4.3 (API level 18) and higher. Images are supported in Android 4.0 (API level 14) and higher, and lossless and PNG) but can provide better compression than either JPEG or PNG. Google that provides lossy compression (like JPEG) as well as transparency (like
