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


Groups > comp.lang.python > #41117

Reversing bits in a byte

From Robert Flintham <Robert.Flintham@uhb.nhs.uk>
Date 2013-03-11 15:32 +0000
Subject Reversing bits in a byte
Newsgroups comp.lang.python
Message-ID <mailman.3224.1363091628.2939.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi,

I have a 'bytes' object which contains a simple bitmap image (i.e. 1 bit per pixel).  I can't work out how I would go about displaying this image.  Does anyone have any thoughts?

All the best,
Rob


Robert Flintham
Trainee Clinical Scientist - MRI
Tel:

 +44 (0)121 371 7000

Email:

 Robert.Flintham@uhb.nhs.uk

Web:

 http://www.uhb.nhs.uk


We're bringing the world's most advanced cancer treatments to Birmingham.
Find out more at www.qecancerappeal.org<http://www.qecancerappeal.org> or text QEHB01 £5 to 70070 to donate £5 to our appeal.

RRPPS
Medical Physics - University Hospitals Birmingham NHS Foundation Trust
63 Melchett Road, Kings Norton,
Birmingham, B30 3HP

[cid:image001.gif@01CE1E6D.AF57F9D0]
DISCLAIMER:
This email and any attachments hereto contains proprietary information, some or all of which may be confidential or legally privileged. It is for the exclusive use of the intended recipient(s) only. If an addressing or transmission error has misdirected this e-mail and you are not the intended recipient(s), please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail or any attachments, as this may be unlawful.

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


Thread

Reversing bits in a byte Robert Flintham <Robert.Flintham@uhb.nhs.uk> - 2013-03-11 15:32 +0000

csiph-web