TagoDR / MangaOnlineViewer

This scripts loads all pages(images) from the current chapter of the manga showing them in one page in a list type structure, witch helps reading faster.
374 stars 46 forks source link

[enhancement] 1 pixel picture #462

Open big-cat-loaf opened 1 month ago

big-cat-loaf commented 1 month ago

A picture should always be bigger than 1x1. https://www.mgeko.cc/reader/en/the-scholars-reincarnation-chapter-23-eng-li/ https://cdn.mangageko.com/mg1/backup/cdn_mangaraw/the-scholar-s-reincarnation/chapter-23/01.jpg

https://github.com/user-attachments/assets/c7f610a3-d9c2-45fb-aacf-646b64f749c9

TagoDR commented 1 month ago

There is a minimal area for each image just in case some image has an irregular size, witch is this case, this image is really 1x1 pixel, it probably got corrupted on upload.

You mean that I should check the image size and remove them/hide if too small? Then how will you know a page is missing/corrupted?

big-cat-loaf commented 1 month ago

You could make two buttens where you can hide the last and the first page so that when something comes up that should not be loaded, you can ensure that you avoid any loading from bugged pictures that don't exit #353.