Added support for extracting and displaying .webp files from comic book archives

This commit is contained in:
aditya.chandel
2025-05-29 19:56:06 -06:00
committed by Aditya Chandel
parent 40294019f5
commit fc1677ddfd
2 changed files with 3 additions and 3 deletions
@@ -176,7 +176,7 @@ public class CbxReaderService {
private boolean isImageFile(String name) {
String lower = name.toLowerCase().replace("\\", "/");
return lower.endsWith(".jpg") || lower.endsWith(".jpeg") || lower.endsWith(".png");
return lower.endsWith(".jpg") || lower.endsWith(".jpeg") || lower.endsWith(".png") || lower.endsWith(".webp");
}
private int extractPageNumber(String filename) {