olikraus / u8glib

Arduino Monochrom Graphics Library for LCDs and OLEDs
https://github.com/olikraus/u8glib/wiki
Other
1.25k stars 314 forks source link

Scale 4x4 #493

Open jcfsoftwares opened 5 years ago

jcfsoftwares commented 5 years ago

Hello,

From "u8glib/csrc/u8g_scale.c", I would like to know if modifying this file is it possible to scale 4x4? I'm a hobby programmer and I'm making a clock on the SSD1306 display, I'd like to add pixelated bitmap animations and consume less memory. Thanks a lot!

olikraus commented 5 years ago

I do not support u8glib any more. Is u8g2 an option?

jcfsoftwares commented 5 years ago

Thanks for the answer. Yes, it is an option. But u8g2 does not have the "Scale" function. In u8g2 is there any equivalent function? I looked at the reference guide, but I did not find anything similar.

olikraus commented 5 years ago

no, but instead fonts are compressed.