Can‘t get size when Image resize,so can't regarding it

Description

can‘t get size when Image resize,so can’t regarding it.

What MCU/Processor/Board and compiler are you using?

Qt create

What LVGL version are you using?

V9.0

What do you want to achieve?

image set different size and regarding it

What have you tried so far?

try get obj size of image,but same size away

Code to reproduce

Add a code snippet which can run in the simulator. It should contain only the relevant code that compiles without errors when separated from your main code base.

lv_obj_set_style_transform_scale(image,320,_LV_STYLE_STATE_CMP_SAME);
printf(“obj size:%d,%d\n”,lv_obj_get_width(obj),lv_obj_get_height(obj));

Screenshot and/or video

If possible, add screenshots and/or videos about the current state.