Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #52500

Re: python and displaying on 10 bit monitors

From Nobody <nobody@nowhere.com>
Subject Re: python and displaying on 10 bit monitors
Date 2013-08-14 08:07 +0100
Message-Id <pan.2013.08.14.07.07.25.45000@nowhere.com>
Newsgroups comp.lang.python
References <415cd70d-72e8-4a2b-9e2e-81420b146682@googlegroups.com>
Organization Zen Internet

Show all headers | View raw


On Tue, 13 Aug 2013 05:25:34 -0700, rlkling wrote:

> Or, asking another way, are there any python libraries that display images
> to 10 bit monitors as 10 bit images, and not scaled to 8 bit?

This should be possible using PyOpenGL and GLUT, with:

	glutInitDisplayString("red=10 green=10 blue=10")

That's based upon a quick look at:

	http://www.amd.com/us/Documents/10-Bit.pdf
	http://www.nvidia.com/docs/IO/40049/TB-04701-001_v02_new.pdf

I don't have a 30-bpp monitor to test it with.

You may be able to do the same thing using e.g. QGLWidget or wxGLCanvas,
but I don't think that you can get 30-bpp with GDI, so you're limited to
solutions involving OpenGL (or DirectX, if you can figure out the
necessary pieces).

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

python and displaying on 10 bit monitors rlkling@gmail.com - 2013-08-13 05:25 -0700
  Re: python and displaying on 10 bit monitors Terry Reedy <tjreedy@udel.edu> - 2013-08-13 12:31 -0400
  Re: python and displaying on 10 bit monitors Ian Kelly <ian.g.kelly@gmail.com> - 2013-08-13 12:35 -0600
    Re: python and displaying on 10 bit monitors rlkling@gmail.com - 2013-08-13 11:51 -0700
  Re: python and displaying on 10 bit monitors Nobody <nobody@nowhere.com> - 2013-08-14 08:07 +0100

csiph-web