Comments (6)
would need:
- startup logs to verify that AVIF is enabled or not
- logs when generating the thumbnail, check for any error
Komga does not need to decode images when reading with the webreader, the AVIF file is passed as-is if your browser supports it, that's why you can see it when reading.
Komga decodes when generating the thumbnail, the fact that it fails to generate a thumbnail seem to indicate something does not work on your machine, but logs would be needed to confirm.
from komga.
/> would need:
- startup logs to verify that AVIF is enabled or not
- logs when generating the thumbnail, check for any error
Komga does not need to decode images when reading with the webreader, the AVIF file is passed as-is if your browser supports it, that's why you can see it when reading.
Komga decodes when generating the thumbnail, the fact that it fails to generate a thumbnail seem to indicate something does not work on your machine, but logs would be needed to confirm.
where can found the startup log?
when i right click komga icon, and show log file , it just get the komga.log.
this file is close komga and delete record, then reopen komga.
komga.log
java.io.IOException: com.github.gotson.nightmonkeys.heif.HeifException: Unsupported feature: Unsupported codec
at com.github.gotson.nightmonkeys.heif.imageio.plugins.HeifImageReader.read(HeifImageReader.java:118) ~[imageio-heif-0.6.2.jar:0.6.2]
at net.coobird.thumbnailator.tasks.io.InputStreamImageSource.readImage(Unknown Source) ~[thumbnailator-0.4.20.jar:0.4.20]
at net.coobird.thumbnailator.tasks.io.InputStreamImageSource.read(Unknown Source) ~[thumbnailator-0.4.20.jar:0.4.20]
at net.coobird.thumbnailator.tasks.SourceSinkThumbnailTask.read(Unknown Source) ~[thumbnailator-0.4.20.jar:0.4.20]
at net.coobird.thumbnailator.Thumbnailator.createThumbnail(Unknown Source) ~[thumbnailator-0.4.20.jar:0.4.20]
at net.coobird.thumbnailator.Thumbnails$Builder.toOutputStream(Unknown Source) ~[thumbnailator-0.4.20.jar:0.4.20]
at org.gotson.komga.infrastructure.image.ImageConverter.resizeImageToByteArray(ImageConverter.kt:99) ~[komga-1.11.1-plain.jar:na]
at org.gotson.komga.domain.service.BookAnalyzer.generateThumbnail(BookAnalyzer.kt:192) ~[komga-1.11.1-plain.jar:na]
at org.gotson.komga.domain.service.BookLifecycle.generateThumbnailAndPersist(BookLifecycle.kt:125) ~[komga-1.11.1-plain.jar:na]
at org.gotson.komga.application.tasks.TaskHandler.handleTask(TaskHandler.kt:95) ~[komga-1.11.1-plain.jar:na]
at org.gotson.komga.application.tasks.TaskProcessor.takeAndProcess(TaskProcessor.kt:63) ~[komga-1.11.1-plain.jar:na]
at org.gotson.komga.application.tasks.TaskProcessor.processAvailableTask$lambda$2(TaskProcessor.kt:51) ~[komga-1.11.1-plain.jar:na]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[na:na]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[na:na]
Caused by: com.github.gotson.nightmonkeys.heif.HeifException: Unsupported feature: Unsupported codec
at com.github.gotson.nightmonkeys.heif.Heif.check(Heif.java:182) ~[imageio-heif-0.6.2.jar:0.6.2]
at com.github.gotson.nightmonkeys.heif.Heif.checkError(Heif.java:177) ~[imageio-heif-0.6.2.jar:0.6.2]
at com.github.gotson.nightmonkeys.heif.Heif.decode(Heif.java:132) ~[imageio-heif-0.6.2.jar:0.6.2]
at com.github.gotson.nightmonkeys.heif.imageio.plugins.HeifImageReader.read(HeifImageReader.java:116) ~[imageio-heif-0.6.2.jar:0.6.2]
... 14 common frames omitted
it;s looks show heif.HeifException: Unsupported feature: Unsupported codec.
DLRAW.TO_00001.zip
this is my avif zip with one page.
from komga.
where can found the startup log?
when i right click komga icon, and show log file , it just get the komga.log.
It's just the first lines of the log file, but sometimes when log file rolls, it's missing in the file.
The library is loaded properly:
2024-07-17T15:59:27.451+08:00 INFO 21192 --- [main] c.g.g.n.h.i.plugins.HeifImageReaderSpi : Loaded libheif v1.17.5
2024-07-17T15:59:27.458+08:00 INFO 21192 --- [main] o.g.k.i.image.ImageConverter : Supported read mediaTypes: [image/vnd.wap.wbmp, image/jpeg, image/x-portable-graymap, image/bmp, image/x-windows-pcx, image/gif, image/x-pc-paintbrush, image/x-raw, image/webp, image/heif-sequence, image/x-pcx, image/heic-sequence, image/avif, image/x-portable-bitmap, image/heif, image/heic, image/x-jb2, image/png, image/pcx, image/x-windows-bmp, image/x-webp, image/jpeg2000, image/jp2, image/x-bmp, image/x-png, image/x-portable-pixmap, image/x-jbig2, image/tiff, image/x-tiff, image/x-portable-anymap, image/jxl]
The issue is in the decoding, could be something wrong with the file or codec. I'll check it out.
from komga.
The library works with your test image, so there must be an issue with libheif dll not loading the AOM codec. I don't have a windows machine to troubleshoot though, so there's not much i can do.
from komga.
The library works with your test image, so there must be an issue with libheif dll not loading the AOM codec. I don't have a windows machine to troubleshoot though, so there's not much i can do.
Q1.
Let me test using the Docker version of Komga on Windows 11 to see if the issue is only present in the Windows Store version.
A1.
I have tested the Komga Docker version on Windows 11, and the AVIF zip preview images are working correctly.
Synology docker version working correctly.
It's only failed show preivew cover with windows store version.
Q2,
which version has better performance, the Docker version or the Windows Store version?
from komga.
which version has better performance, the Docker version or the Windows Store version?
shouldn't be any difference
from komga.
Related Issues (20)
- Komga doesn't log Tomcat errors HOT 2
- files not analyzed on mac HOT 4
- Optional title name parser expression HOT 1
- Deletetion Issue HOT 3
- UpgradeIndex execution failed on every restart HOT 2
- Cannot to run, permission denied HOT 1
- Can't delete unavailable book HOT 2
- Errors related to an OPDS V2 client using Let's Encrypt certificates. HOT 4
- When can komga support Mobi format files ? HOT 1
- Duplicate Pages -> Known -> Sorting by Size Not Working
- What is the oldest Safari version supported by Komga 1.10.3 HOT 1
- odps endpoint url returns "page not found" HOT 1
- Files won't open in CDisplayEX ver 1.3.81 HOT 1
- Read progress is not tracked for each user separately HOT 2
- Some .cbr files fail to be analyzed HOT 1
- OneShots cannot be matched when importing read list HOT 1
- Is possible to delete a pending task that blocks all the others?
- Docker and GLocker too often allocating HOT 13
- '"/login?redirect=%2Fdashboard" to "/dashboard" via a navigation guard.' popup HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from komga.