Skip to content

Instantly share code, notes, and snippets.

@pixelmager
Last active November 13, 2023 13:11
Show Gist options
  • Save pixelmager/33bcd0c59e705a695fd8b956c0b537bc to your computer and use it in GitHub Desktop.
Save pixelmager/33bcd0c59e705a695fd8b956c0b537bc to your computer and use it in GitHub Desktop.
pixel pedant

a tool like colorcop, but with the purpose of inspecting pixels, rather than picking colors.

  • resizable window like gifcam
  • zoomed window next to org pixels
  • levels-filter
  • run random shader on image
  • before/after snapshots in tabs to flip between
  • and diff-tool?

analysis

  • live histogram / waveform?
  • calc variance / std deviation - within area (to compare)
  • fft?

Capture several frames / keep history of last N frames

refs

"For old-school, you can set D3D11_RESOURCE_MISC_GDI_COMPATIBLE on the texture, get a DC for it, then use BitBlt on the root HWND into it (edited) - IDXGISurface1::GetDC() to get the DC for the texture"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment