fix(cbx-reader): add GIF and BMP to supported image extensions (#230)

Co-authored-by: de.banker <hub9ray@gmail.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
graypawn
2026-04-22 17:26:53 -04:00
committed by Zach Yale
co-authored by de.banker Claude Opus 4.6
parent 169c9ff1e1
commit 74c7ad5502
@@ -39,7 +39,7 @@ import java.util.stream.IntStream;
@RequiredArgsConstructor
public class CbxReaderService {
private static final String[] SUPPORTED_IMAGE_EXTENSIONS = {".jpg", ".jpeg", ".png", ".webp", ".avif", ".heic"};
private static final String[] SUPPORTED_IMAGE_EXTENSIONS = {".jpg", ".jpeg", ".png", ".webp", ".avif", ".heic", ".gif", ".bmp"};
private static final Charset[] ENCODINGS_TO_TRY = {
StandardCharsets.UTF_8,
Charset.forName("Shift_JIS"),