Added support for extracting and displaying .webp files from comic book archives
This commit is contained in:
committed by
Aditya Chandel
parent
40294019f5
commit
fc1677ddfd
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user