Reduced the size of images.
BIN
tutorials/Image_And_Icons_Manipulations/draw_image_into_canvas.png
Normal file → Executable file
|
Before Width: | Height: | Size: 459 KiB After Width: | Height: | Size: 133 KiB |
BIN
tutorials/Image_And_Icons_Manipulations/image_from_resources.png
Normal file → Executable file
|
Before Width: | Height: | Size: 317 KiB After Width: | Height: | Size: 111 KiB |
@@ -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"/>
|
||||

|
||||
|
||||
```kotlin
|
||||
import androidx.compose.desktop.Window
|
||||
|
||||
|
Before Width: | Height: | Size: 245 KiB After Width: | Height: | Size: 140 KiB |
BIN
tutorials/Image_And_Icons_Manipulations/tray_icon.png
Normal file → Executable file
|
Before Width: | Height: | Size: 316 KiB After Width: | Height: | Size: 204 KiB |
BIN
tutorials/Image_And_Icons_Manipulations/window_icon.png
Normal file → Executable file
|
Before Width: | Height: | Size: 318 KiB After Width: | Height: | Size: 226 KiB |