Re: [fpc-pascal] Bitmap-as-const-and-write-to-file-thingy

2018-09-20 Thread Bo Berglund
On Wed, 19 Sep 2018 23:58:36 +0200, Marc Santhoff wrote: >Any pointers or hints, please? You can convert any file you like to an inc file with pascal syntax: data2inc -A -B laz/images/ide_icon48x48.png datatest.inc icon48x48 This will produce a datatest.inc file ready to be included in your pr

Re: [fpc-pascal] Bitmap-as-const-and-write-to-file-thingy

2018-09-20 Thread Marc Santhoff
On Thu, 2018-09-20 at 00:47 +0200, Tomas Hajny wrote: > On Wed, September 19, 2018 23:58, Marc Santhoff wrote: > > > Hi, > > . > . > > What I need: > > > > - A program taking a binary file and spitting out pascal code for the > > const array. I know I have seen such program in the past, but d

Re: [fpc-pascal] Bitmap-as-const-and-write-to-file-thingy

2018-09-20 Thread Marc Santhoff
Oncemore using the correct from address... Sorry moderation. On Thu, 2018-09-20 at 23:45 +0200, Bo Berglund wrote: > On Wed, 19 Sep 2018 23:58:36 +0200, Marc Santhoff > wrote: > > > Any pointers or hints, please? > > You can convert any file you like to an inc file with pascal syntax: > > data