From: Jasper T. <ja...@si...> - 2021-04-06 13:56:47
|
Sorry, it looks like I have to compile and install bitmap support separately — please ignore this report. I’ll assume the source file I mentioned is for X bitmap (.xbm) support. —Jasper > On 6 Apr 2021, at 13:49, Kevin Walzer <kw...@co...> wrote: > > On 4/6/21 8:12 AM, Jasper Taylor wrote: >> I just built TclTk 8.6.11 on a Mac mini M1 and the photo handling commands report that bitmap (.bmp) format is no longer supported. The file generic/tkImgBmap.c seems to provide bitmap support so what is going wrong? >> Jasper > > > This works fine for me with 8.6.11 on Intel: > > image create bitmap xbm_video_32 -data { > > #define xbm_video_32_width 32 > #define xbm_video_32_height 32 > static char xbm_video_32_bits[] = { > 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, > 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, > 0x01, 0xFF, 0xFF, 0xFF, 0x03, 0xFF, 0xFF, 0xFF, 0x0F, 0xFF, 0xFF, 0xFF, > 0x1F, 0xFF, 0xFF, 0xFF, 0x3F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, > 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, > 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, > 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, > 0x3F, 0xFF, 0xFF, 0xFF, 0x1F, 0xFF, 0xFF, 0xFF, 0x0F, 0xFF, 0xFF, 0xFF, > 0x03, 0xFF, 0xFF, 0xFF, 0x01, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, > 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, > 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, }; > > > } > > pack [label .l -image xbm_video_32] > > Can't speak to Apple Silicon as I don't have a machine with that processor. > > --Kevin > > -- > Kevin Walzer > Code by Kevin > http://www.codebykevin.com > > > > _______________________________________________ > Tcl-mac mailing list > tc...@li... > https://lists.sourceforge.net/lists/listinfo/tcl-mac |