Results 1 to 6 of 6

Thread: Pixmap transform: translate pixmap

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Wiki edits
    17

    Default Re: Pixmap transform: translate pixmap

    I guess you could create a new, slightly larger QImage. With a QPainter draw the old image after turning on anti-aliasing and translating using the QPointF version of the function. You might then get a different image that appears to have been shifted half a pixel.

    Why you would bother given the size of pixels these days...

  2. The following user says thank you to ChrisW67 for this useful post:

    DeepKling (23rd January 2015)

Similar Threads

  1. Offset of a pixmap image
    By TheIndependentAquarius in forum Newbie
    Replies: 1
    Last Post: 30th October 2013, 12:38
  2. Draw Image into Pixmap/Image
    By ToddAtWSU in forum Qt Programming
    Replies: 1
    Last Post: 19th May 2010, 06:56
  3. How to transform image like warp
    By yycking in forum Qt Programming
    Replies: 2
    Last Post: 10th December 2009, 08:35
  4. Qt 3.3.8 pixmap to/from image error
    By ksierens in forum Qt Programming
    Replies: 1
    Last Post: 15th April 2008, 06:46
  5. Smooth pixmap transform in QGraphicsView problem
    By spud in forum Qt Programming
    Replies: 1
    Last Post: 24th October 2007, 16:47

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.