Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Pixel manipulation in QGraphicsView
QtWS25 Last Chance

Pixel manipulation in QGraphicsView

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 2.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    RikuRaitis
    wrote on last edited by
    #1

    I have nice and working Qt application using QGraphicsView and QGraphicsScene. Scene is populated by using QGraphicsItems (rects, lines, circles,...). Now I´d like to add final touch on it and I´d like to do some pixel manipulation on the QGraphicsView. Is this possible?

    I found Qt deform example but it´s not really pixel manipulation, it´s more like vector transformations, so not suitable for me.

    Manipulation algorithm (I plan to implement this myself) should have pixel level access to view image. It should be able to set/get invidual pixels on view one by one. How to do this?

    1 Reply Last reply
    0
    • H Offline
      H Offline
      Hornsj2
      wrote on last edited by
      #2

      What's the recommended way? I'm not sure.

      Perhaps you could copy the framebuffer to a texture, manipulate that, and copy it back to the framebuffer.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved