1e41f4b71Sopenharmony_ci# Image_Region 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ci 4e41f4b71Sopenharmony_ci## Overview 5e41f4b71Sopenharmony_ci 6e41f4b71Sopenharmony_ciThe Image_Region struct describes the region of an image to decode. 7e41f4b71Sopenharmony_ci 8e41f4b71Sopenharmony_ci**Since**: 12 9e41f4b71Sopenharmony_ci 10e41f4b71Sopenharmony_ci**Related module**: [Image_NativeModule](_image___native_module.md) 11e41f4b71Sopenharmony_ci 12e41f4b71Sopenharmony_ci 13e41f4b71Sopenharmony_ci## Summary 14e41f4b71Sopenharmony_ci 15e41f4b71Sopenharmony_ci 16e41f4b71Sopenharmony_ci### Member Variables 17e41f4b71Sopenharmony_ci 18e41f4b71Sopenharmony_ci| Name| Description| 19e41f4b71Sopenharmony_ci| -------- | -------- | 20e41f4b71Sopenharmony_ci| uint32_t [x](#x) | X coordinate of the region. It cannot be greater than the width of the original image. | 21e41f4b71Sopenharmony_ci| uint32_t [y](#y) | Y coordinate of the region. It cannot be greater than the height of the original image. | 22e41f4b71Sopenharmony_ci| uint32_t [width](#width) | Width of the output image, in px. | 23e41f4b71Sopenharmony_ci| uint32_t [height](#height) | Height of the output image, in px. | 24e41f4b71Sopenharmony_ci 25e41f4b71Sopenharmony_ci 26e41f4b71Sopenharmony_ci## Member Variable Description 27e41f4b71Sopenharmony_ci 28e41f4b71Sopenharmony_ci 29e41f4b71Sopenharmony_ci### height 30e41f4b71Sopenharmony_ci 31e41f4b71Sopenharmony_ci``` 32e41f4b71Sopenharmony_ciuint32_t Image_Region::height 33e41f4b71Sopenharmony_ci``` 34e41f4b71Sopenharmony_ci**Description** 35e41f4b71Sopenharmony_ci 36e41f4b71Sopenharmony_ciHeight of the output image, in px. 37e41f4b71Sopenharmony_ci 38e41f4b71Sopenharmony_ci 39e41f4b71Sopenharmony_ci### width 40e41f4b71Sopenharmony_ci 41e41f4b71Sopenharmony_ci``` 42e41f4b71Sopenharmony_ciuint32_t Image_Region::width 43e41f4b71Sopenharmony_ci``` 44e41f4b71Sopenharmony_ci**Description** 45e41f4b71Sopenharmony_ci 46e41f4b71Sopenharmony_ciWidth of the output image, in px. 47e41f4b71Sopenharmony_ci 48e41f4b71Sopenharmony_ci 49e41f4b71Sopenharmony_ci### x 50e41f4b71Sopenharmony_ci 51e41f4b71Sopenharmony_ci``` 52e41f4b71Sopenharmony_ciuint32_t Image_Region::x 53e41f4b71Sopenharmony_ci``` 54e41f4b71Sopenharmony_ci**Description** 55e41f4b71Sopenharmony_ci 56e41f4b71Sopenharmony_ciX coordinate of the region. It cannot be greater than the width of the original image. 57e41f4b71Sopenharmony_ci 58e41f4b71Sopenharmony_ci 59e41f4b71Sopenharmony_ci### y 60e41f4b71Sopenharmony_ci 61e41f4b71Sopenharmony_ci``` 62e41f4b71Sopenharmony_ciuint32_t Image_Region::y 63e41f4b71Sopenharmony_ci``` 64e41f4b71Sopenharmony_ci**Description** 65e41f4b71Sopenharmony_ci 66e41f4b71Sopenharmony_ciY coordinate of the region. It cannot be greater than the height of the original image. 67