Lofter1 / anyflip-downloader

Download anyflip books as PDF
GNU General Public License v3.0
241 stars 39 forks source link

Creates blank PDF #51

Closed DorMor973 closed 5 months ago

DorMor973 commented 7 months ago

Describe the bug App appears to execute as normal but resulting PDF is blank/empty

OS: Windows 11

To Reproduce Download an AnyFlip file which consists of .webp files

Expected behavior downloaded anyflip converted to PDF

Additional context Appears to be a problem when the AnyFlip file contains .webp files instead of .jpeg files. Files are downloaded to the Temp folder as normal but when combined to a PDF the resulting PDF is empty.

ThaiEntreprenure commented 6 months ago

yes me too Macm1 i use to copy and place to website convert webp to pdf before its done.

Lofter1 commented 5 months ago

Hi, I'm having some free time between jobs and could try to resolve this now. If you have any example books that use webp instead of jpeg I could see what I can do

DorMor973 commented 5 months ago

As an example, you could try: https://anyflip.com/cmjgl/fxbs/ or for a larger file: https://anyflip.com/cmjgl/vdhq/

Lofter1 commented 5 months ago

Should be solved in v1.10. If there are still issues, please reopen the issue with more information. Converting might take a bit longer now because the fix required using a different library which seems to take a bit longer for converting images to PDF.

DorMor973 commented 5 months ago

Works fine. Thank you very much. :)