Default covers + optimisations

This commit is contained in:
jpirnay
2026-05-19 12:34:54 +02:00
parent d2f660ea64
commit 5fec0e0210
10 changed files with 177 additions and 8 deletions
+7
View File
@@ -28,6 +28,13 @@ class Txt {
[[nodiscard]] bool generateCoverBmp() const;
[[nodiscard]] std::string findCoverImage() const;
// Thumbnail support - generates a surrogate placeholder cover BMP
[[nodiscard]] std::string getThumbBmpPath() const;
[[nodiscard]] std::string getThumbBmpPath(int height) const;
[[nodiscard]] std::string getThumbBmpPath(int width, int height) const;
[[nodiscard]] bool generateThumbBmp(int height) const;
[[nodiscard]] bool generateThumbBmp(int width, int height) const;
// Read content from file
[[nodiscard]] bool readContent(uint8_t* buffer, size_t offset, size_t length) const;
};