Sets width, height, ColorAlphaType, ColorType, ColorSpace. Frees pixels, and returns true if successful. imageInfo.getAlphaType() may be altered to a value permitted by imageInfo.getColorSpace(). If imageInfo.getColorType() is ColorType#UNKNOWN, imageInfo.getAlphaType() is set to
(@NotNull ImageInfo imageInfo)
| 361 | * @see <a href="https://fiddle.skia.org/c/@Bitmap_setInfo">https://fiddle.skia.org/c/@Bitmap_setInfo</a> |
| 362 | */ |
| 363 | public boolean setImageInfo(@NotNull ImageInfo imageInfo) { |
| 364 | _imageInfo = null; |
| 365 | return setImageInfo(imageInfo, 0); |
| 366 | } |
| 367 | |
| 368 | /** |
| 369 | * <p>Sets width, height, ColorAlphaType, ColorType, ColorSpace, and optional |