[Mplayer-users] font bitmap format?

Arpi arpi at thot.banki.hu
Wed Apr 11 02:54:20 CEST 2001


Hi,

> >> what we need?
> >> - 256 color greyscaled image
> >> - possibly uncompressed, or very easy & fast & small decompressor
> >> - lossless!
> >> - supported by common image manipulation programs (gimp,xv,photoshop,psp...)
> >
> Actually you can write PGM-files (256 greyscales) with 2 lines of C:
> 
> fprintf(file, "P5\n%d %d\n255\n", xsize, ysize);  // the header is easy
> fwrite(data, xsize, ysize, file);		 // rest if plain data
> 
> data has to be organized in usual order, like "english text is read"
> as the man-page says. Works very well. 
Great! This is exactly what I want! Thanks a lot!
I'll change today the font format to it. (maybe keep .raw support too?)


A'rpi / Astral & ESP-team

--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu

_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-users



More information about the MPlayer-users mailing list