开发者

loaded image Qsize [closed]

开发者 https://www.devze.com 2022-12-20 13:53 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its开发者_运维技巧 current form.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its开发者_运维技巧 current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

how can i get the image size when i load image ( width, height )


QImage has a method called size(). Is that what you're asking?


QImage::width()

QImage::height()

You really should read the documentation.

Jim's method works as well, just call width and height on the returned size.

0

精彩评论

暂无评论...
验证码 换一张
取 消