{"id":10639,"date":"2020-03-06T09:37:26","date_gmt":"2020-03-06T09:37:26","guid":{"rendered":"http:\/\/blog.bachi.net\/?p=10639"},"modified":"2020-03-25T13:31:22","modified_gmt":"2020-03-25T13:31:22","slug":"qt-image-viewer","status":"publish","type":"post","link":"https:\/\/blog.bachi.net\/?p=10639","title":{"rendered":"Qt Image \/ QPainter"},"content":{"rendered":"<p><a href=\"https:\/\/doc.qt.io\/qt-5\/qtwidgets-widgets-imageviewer-example.html\">Image Viewer Example<\/a><br \/>\n<a href=\"https:\/\/doc.qt.io\/qt-5\/qtwidgets-painting-basicdrawing-example.html\">Basic Drawing Example<\/a><\/p>\n<p><a href=\"https:\/\/www.bogotobogo.com\/Qt\/Qt5_QMainWindow_QAction_ImageViewer.php\">QT5 TUTORIAL MAINWINDOW AND IMAGEVIEWER USING CREATOR &#8211; PART A &#8211; 2020<\/a><br \/>\n<a href=\"https:\/\/www.bogotobogo.com\/Qt\/Qt5_QMainWindow_QAction_ImageViewer_B.php\">QT5 TUTORIAL MAINWINDOW AND IMAGEVIEWER USING CREATOR &#8211; PART B &#8211; 2020<\/a><\/p>\n<p><a href=\"https:\/\/stackoverflow.com\/questions\/17375808\/qt-drawing-a-circle\">QT drawing a circle [duplicate]<\/a><br \/>\n<a href=\"https:\/\/stackoverflow.com\/questions\/10307860\/what-is-the-difference-between-qimage-and-qpixmap\">What is the difference between QImage and QPixmap?<\/a><br \/>\n<a href=\"https:\/\/www.qtcentre.org\/threads\/1574-Diff-between-QImage-QPixmap-QPicture\">Diff between QImage, QPixmap, QPicture<\/a><\/p>\n<ul>\n<li>Qt provides four classes for handling image data: QImage, QPixmap, QBitmap and QPicture. QImage is designed and optimized for I\/O, and for direct pixel access and manipulation, while QPixmap is designed and optimized for showing images on screen. QBitmap is only a convenience class that inherits QPixmap, ensuring a depth of 1. Finally, the QPicture class is a paint device that records and replays QPainter commands.<\/li>\n<li>QImage: Fast to draw to, slow to display.<br \/>\nQPixmap: Slow to draw to, fast to display.<\/li>\n<\/ul>\n<h3>YouTube<\/h3>\n<p><a href=\"https:\/\/www.youtube.com\/watch?v=7Qdz4lntVeM\">Qt5 C++ Drawing Ellipse (QPainter, QPen, QBrush) In Qt #26<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Image Viewer Example Basic Drawing Example QT5 TUTORIAL MAINWINDOW AND IMAGEVIEWER USING CREATOR &#8211; PART A &#8211; 2020 QT5 TUTORIAL MAINWINDOW AND IMAGEVIEWER USING CREATOR &#8211; PART B &#8211; 2020 QT drawing a circle [duplicate] What is the difference between QImage and QPixmap? Diff between QImage, QPixmap, QPicture Qt provides four classes for handling image [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-10639","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/10639","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10639"}],"version-history":[{"count":8,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/10639\/revisions"}],"predecessor-version":[{"id":13711,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/10639\/revisions\/13711"}],"wp:attachment":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10639"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10639"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10639"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}