Browse Source

Reduced the size of images.

pull/24/head
Roman Sedaikin 4 years ago
parent
commit
1dbefb6ce9
  1. BIN
      tutorials/Image_And_Icons_Manipulations/draw_image_into_canvas.png
  2. BIN
      tutorials/Image_And_Icons_Manipulations/image_from_resources.png
  3. 2
      tutorials/Image_And_Icons_Manipulations/main.md
  4. BIN
      tutorials/Image_And_Icons_Manipulations/sample.png
  5. BIN
      tutorials/Image_And_Icons_Manipulations/tray_icon.png
  6. BIN
      tutorials/Image_And_Icons_Manipulations/window_icon.png

BIN
tutorials/Image_And_Icons_Manipulations/draw_image_into_canvas.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 459 KiB

After

Width:  |  Height:  |  Size: 133 KiB

BIN
tutorials/Image_And_Icons_Manipulations/image_from_resources.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 317 KiB

After

Width:  |  Height:  |  Size: 111 KiB

2
tutorials/Image_And_Icons_Manipulations/main.md

@ -8,7 +8,7 @@ In this tutorial we will show you how to work with images using Compose for Desk
Using images from application resources is very simple. Suppose we have a PNG image that is placed in the `resources/images` directory in our project. For this tutorial we will use the image sample:
<img src="sample.png" alt="Sample" width="256"/>
![Sample](sample.png)
```kotlin
import androidx.compose.desktop.Window

BIN
tutorials/Image_And_Icons_Manipulations/sample.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 245 KiB

After

Width:  |  Height:  |  Size: 140 KiB

BIN
tutorials/Image_And_Icons_Manipulations/tray_icon.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 316 KiB

After

Width:  |  Height:  |  Size: 204 KiB

BIN
tutorials/Image_And_Icons_Manipulations/window_icon.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 318 KiB

After

Width:  |  Height:  |  Size: 226 KiB

Loading…
Cancel
Save