Re: [Dorset] Waveshare 1.5 inch OLED Display

2020-11-08 Thread Terry Coles
On Sunday, 8 November 2020 16:27:38 GMT Ralph Corderoy wrote: > long time. Out of curiosity, try > > sudo apt-show-versions -a netpbm > sudo apt-show-versions -a netpbm-free terry@OptiPlex:~$ sudo apt-show-versions -a netpbm netpbm:amd64 2:10.90.00-ppa install ok installed netpbm:amd64 2

Re: [Dorset] Waveshare 1.5 inch OLED Display

2020-11-08 Thread Ralph Corderoy
Hi Terry, > $ apt-show-versions netpbm > netpbm:amd64/groovy 2:10.0-15.3build1 uptodate > netpbm:i386 not installed > $ apt-show-versions netpbm-free > netpbm-free not installed (not available) Oh, apt-show-versions(1) talks about a cache. I did say it had been a long time. Out of curiosity, tr

Re: [Dorset] Waveshare 1.5 inch OLED Display

2020-11-08 Thread Terry Coles
On Sunday, 8 November 2020 15:54:01 GMT Ralph Corderoy wrote: > and see if they list the PPA's version No they don't: terry@OptiPlex:~$ apt-show-versions netpbm netpbm:amd64/groovy 2:10.0-15.3build1 uptodate netpbm:i386 not installed terry@OptiPlex:~$ apt-show-versions netpbm-free netpbm-free not

Re: [Dorset] Waveshare 1.5 inch OLED Display

2020-11-08 Thread Ralph Corderoy
Hi Terry, > > https://launchpad.net/~darkdragon-001/+archive/ubuntu/ppa > > I've successfully installed PPAs on Kubuntu on a number of occasions, > but I can't get that one to work. I run the commands listed at the > site and the PPAs duly appear in the list of software sources, but all > I get i

Re: [Dorset] Waveshare 1.5 inch OLED Display

2020-11-08 Thread Terry Coles
On Sunday, 8 November 2020 15:08:48 GMT Ralph Corderoy wrote: > One of the people commenting in that bug report has made a PPA available > with a more modern netpbm package. > https://launchpad.net/~darkdragon-001/+archive/ubuntu/ppa > It's been a long time since I've tried PPAs on Ubuntu but that

Re: [Dorset] Waveshare 1.5 inch OLED Display

2020-11-08 Thread Ralph Corderoy
Hi Terry, > > wget -q -O lenna.png \ > > > > https://upload.wikimedia.org/wikipedia/en/7/7d/Lenna_%28test_image%29.png > > > > w=128 h=128 # Desired size. > > pngtopnm lenna.png | > > pamscale -xyfit $w $h | > > pnmpad -w $w -h $h | > > pnmremap -mapfile=<(pamseq 1

Re: [Dorset] Waveshare 1.5 inch OLED Display

2020-11-08 Thread Terry Coles
On Wednesday, 5 August 2020 16:08:13 GMT Ralph Corderoy wrote: > Whilst all this clicking means you're learning Gimp, and it could > instead be coded in Python using the Python Imaging Library we keep > referring to, there's also Netpbm from the shell. > > wget -q -O lenna.png \ > https:

Re: [Dorset] Waveshare 1.5 inch OLED Display

2020-08-05 Thread Terry Coles
On Wednesday, 5 August 2020 16:08:13 BST Ralph Corderoy wrote: > Whilst all this clicking means you're learning Gimp, and it could > instead be coded in Python using the Python Imaging Library we keep > referring to, there's also Netpbm from the shell. I haven't abandoned the idea of doing this pr

Re: [Dorset] Waveshare 1.5 inch OLED Display

2020-08-05 Thread Terry Coles
On Wednesday, 5 August 2020 15:58:13 BST Ralph Corderoy wrote: > > What have I missed? > > Tim pointing you yesterday to OK. I misunderstood. I thought you were saying that I should select a palette that was nearest to the one in the spec, not first manufacture one that is nearest to the one

Re: [Dorset] Waveshare 1.5 inch OLED Display

2020-08-05 Thread Ralph Corderoy
Hi Terry, Whilst all this clicking means you're learning Gimp, and it could instead be coded in Python using the Python Imaging Library we keep referring to, there's also Netpbm from the shell. wget -q -O lenna.png \ https://upload.wikimedia.org/wikipedia/en/7/7d/Lenna_%28test_image%

Re: [Dorset] Waveshare 1.5 inch OLED Display

2020-08-05 Thread Ralph Corderoy
Hi Terry, > Unfortunately, my copy of The Gimp doesn't seem to include a palette > that comes anywhere near anything on Page 33 of the spec. The only > palette with 16 levels is the Paint one which is not grey. The only > grey palette has 32 levels. > > What have I missed? Tim pointing you yeste

Re: [Dorset] Waveshare 1.5 inch OLED Display

2020-08-05 Thread Terry Coles
On Wednesday, 5 August 2020 15:22:04 BST Ralph Corderoy wrote: > When using Image → Mode → Indexed... to change the image to indexed, > select ‘Use custom palette’ in the ‘Colourmap’ section, and pick the > palette which matches the LUT which the SSD1327 is using. That's > probably the default one

Re: [Dorset] Waveshare 1.5 inch OLED Display

2020-08-05 Thread Ralph Corderoy
Hi Terry, > I was just trying to document what I had done and discovered that > palettes aren't really used directly in Indexed images. Instead a > Colormap is used: > > https://docs.gimp.org/2.8/en_GB/gimp-indexed-palette-dialog.html As that page starts by saying, ‘Indexed Palette is a better n

Re: [Dorset] Waveshare 1.5 inch OLED Display

2020-08-05 Thread Terry Coles
On Wednesday, 5 August 2020 13:43:29 BST Terry Coles wrote: > I forgot to mention that it is also necessary to create a suitable palette > of 16 colours between black and white. Thi may then be applied to the > image. I was just trying to document what I had done and discovered that palettes are

Re: [Dorset] Waveshare 1.5 inch OLED Display

2020-08-05 Thread Terry Coles
On Wednesday, 5 August 2020 13:24:51 BST Terry Coles wrote: > et al last night. This uses The Gimp to scale the image to the right size > (maintaining the aspect ratio), index the image to 16 colour levels and > place it on a black background created by sizing the canvas to 128 x 128 > pixels. I

Re: [Dorset] Waveshare 1.5 inch OLED Display

2020-08-05 Thread Terry Coles
On Tuesday, 4 August 2020 21:15:01 BST Terry Coles wrote: > See https://www.waveshare.com/wiki/1.5inch_OLED_Module > > This page contains everything available about the device. As Ralph mentioned last night, we spent much of the evening discussing how to get this device to display a picture of A

Re: [Dorset] Waveshare 1.5 inch OLED Display

2020-08-05 Thread Terry Coles
On Wednesday, 5 August 2020 12:52:51 BST Hamish McIntyre-Bhatty wrote: > looks like you've got it covered. I'm sure you told me, but what's the > screen going to be used for? Television sets in the Window of Holmans. -- Terry Coles -- Next meeting: Online, Jitsi, Tuesday

Re: [Dorset] Waveshare 1.5 inch OLED Display

2020-08-05 Thread Hamish McIntyre-Bhatty
On 05/08/2020 10:20, Terry Coles wrote: > That's what I thought. > I intend to share this with the volunteer who originally bought the display, > He was / is a hardware engineer before he retired, so we might be able to get > quite a bit out of this between us. > > Hamish has been busy on the Ri

Re: [Dorset] Waveshare 1.5 inch OLED Display

2020-08-05 Thread Terry Coles
On Wednesday, 5 August 2020 10:00:31 BST Ralph Corderoy wrote: Ralph, You've been busy :-) Thanks for all your hard work. > > See https://www.waveshare.com/wiki/1.5inch_OLED_Module > > This page contains everything available about the device. I hadn't analysed the content there to the depth tha

Re: [Dorset] Waveshare 1.5 inch OLED Display

2020-08-05 Thread Ralph Corderoy
Hi Terry, > See https://www.waveshare.com/wiki/1.5inch_OLED_Module > This page contains everything available about the device. There's a lot of good information there, and a bit of bad written by Waveshare. Working from eyeball backwards, there's the OLED display described by https://www.wavesha

Re: [Dorset] Waveshare 1.5 inch OLED Display

2020-08-04 Thread Ralph Corderoy
Hi list, Terry wrote: > See https://www.waveshare.com/wiki/1.5inch_OLED_Module > This page contains everything available about the device. In case you're wondering why Terry is sending odd emails to the list, it's because he is in conversation with some of us on Jitsi and so you're lacking that c

[Dorset] Waveshare 1.5 inch OLED Display

2020-08-04 Thread Terry Coles
See https://www.waveshare.com/wiki/1.5inch_OLED_Module This page contains everything available about the device. -- Terry Coles -- Next meeting: Online, Jitsi, Tuesday, 2020-08-04 20:00 Check to whom you are replying Meetings, mailing list, IRC, ... http://dorset.lu