-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Misnamed images on NHentai #346
Comments
You're right, I was able to reproduce this. By default, it will attempt to fix the file extension based on the If you go to Tools > General settings, under "Advanced settings", there's a Another user reported a different website sending an incorrect |
Jpg files are misnamed as png.
Example:
nhentai.net/g/348878/
Is it possible for the app to read the start of the image to see if there is the JFIF marker and then rename to jpg?
It is possible to do it inside LUA but I think it would be better to detect it directly inside the app so it can work from all websites.
Example of detection code (the code is in Python but it isn't difficult to convert it): https://stackoverflow.com/a/51931778
The text was updated successfully, but these errors were encountered: