none
Default value of PixelOffsetMode? RRS feed

  • General discussion


  • I develop a small online icon conversion program Convert PNG to ICO and ICNS, which also has an offline Windows binary written in .NET.

    One of my users of the recently ran into an issue where they noticed some of the downscaled images had a semi-transparent edge along the left side.  I traced this back to the PixelOffsetMode of the Graphics object I was doing the compositing in.  Changing the PixelOffsetMode to PixelOffsetMode.HighQuality seems to have resolved the issue.

    I can't seem to find good documentation on what the default PixelOffsetMode is supposed to be. It seems counterintuitive for the default option to be "Half". Any ideas?

    Thanks in advance!

    Tuesday, February 9, 2016 4:48 AM