loaded image Qsize [closed]
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.
精彩评论