[PATCH v2 4/5] logo: Enable image format selection for the logo

Sascha Hauer sha at pengutronix.de
Thu Jan 20 00:13:41 PST 2022


On Mon, Jan 17, 2022 at 03:28:17PM -0800, Trent Piepho wrote:
> On Mon, Jan 17, 2022 at 3:03 PM Jules Maselbas <jmaselbas at kalray.eu> wrote:
> >
> > +choice
> > +       prompt "Logo image encoding format to be used"
> > +       default BAREBOX_LOGO_PNG
> > +
> > +config BAREBOX_LOGO_PNG
> > +       bool "png"
> > +       select PNG
> > +       help
> > +         Encode logo with the PNG image format
> > +
> > +config BAREBOX_LOGO_BMP
> > +       bool "bmp"
> > +       select BMP
> > +       help
> > +         Encode logo with the BMP image format
> 
> You might say why one might want one format or ther other.  What's the
> point of adding bmp support?

The point could be that for a small logo a bmp image + renderer is
smaller than a better compressed image + a bigger renderer. I don't know
if that's actually the case though.

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list