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 > <m.santh...@web.de> 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 > project and with content looking like this: > > const icon48x48 : array[0..4236] of byte=( > $89,$50,$4E,$47,$0D,$0A,$1A,$0A,$00,$00,$00,$0D,$49,$48,$44, > .... > $45,$4E,$44,$AE,$42,$60,$82); > > data2inc is installed with fpc/lazarus ready for use. > I used a png file shipped with lazarus as the example above.
Done. Cool stuff. :) Thanks. -- Marc Santhoff <m.santh...@web.de> _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal