Xteink-X4-crosspoint-reader/lib/Epub
pablohc 568592f2b8 feat(sleep): pre-calculate EPUB cover dimensions for FIT/CROP modes
- Add JpegToBmpConverter::getJpegDimensions() to extract JPEG dimensions
- Fix getCoverBmpPath() ternary operator precedence bug
- Pre-calculate exact dimensions per mode:
  * FIT: width=480px, height=(480*jpegHeight)/jpegWidth
  * CROP: height=800px, width=(800*jpegWidth)/jpegHeight
- Generate separate cache files (cover_fit.bmp vs cover_crop.bmp)
- Eliminates runtime scaling artifacts, improves sleep screen clarity
2026-01-24 15:45:30 +01:00
..
Epub feat: dict based Hyphenation (#305) 2026-01-19 12:56:26 +00:00
Epub.cpp feat(sleep): pre-calculate EPUB cover dimensions for FIT/CROP modes 2026-01-24 15:45:30 +01:00
Epub.h feat: dict based Hyphenation (#305) 2026-01-19 12:56:26 +00:00