开发者

loaded image Qsize [closed]

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜