pixel-reader icon indicating copy to clipboard operation
pixel-reader copied to clipboard

PDF Format

Open CarolloSenpai opened this issue 1 year ago • 1 comments

Is there possibility for it to read .pdf files ? I mean is it possible to add that function ?

For now i made script to convert .pdf to .epub .

  1. Download Caliber from here (U need that for script to work.

  2. Copy code to notepad, name it hower u want (PDF_to_EPUB) dont forogot to make it .bat Whole name of new file example : PDF_to_EPUB.bat

@echo off setlocal enabledelayedexpansion

set count=0 for /r %%f in (*.pdf) do ( set /a count+=1 )

echo Found %count% PDF files.

set /p "confirm=Do You want to convert PDF to EPUB now? (T/N): " if /i "!confirm!"=="t" ( for /r %%f in (*.pdf) do ( "ebook-convert" "%%f" "%%~dpnf.epub" ) echo Conversion finished. ) else ( echo Conversion canceled. )

endlocal pause

  1. Put PDF_to_EPUB.bat in folder where you have all your pdf files ( they can be even in sub folders, script will search thru director and all subfiles). Open PDF_to_EPUB.bat as Admin and u are good to go ^_^

CarolloSenpai avatar Mar 02 '25 16:03 CarolloSenpai

Thanks for the script! What you're doing is the best approach for importing pdfs into pxl reader.

I don't intend to support pdf format directly, because the conversion process may require some hand tuning or not be reliable in all cases. Epub/txt format is a better fit for how the app displays text line by line.

If you're using the miyoo mini, you could also try the pdf reader app.

ealang avatar Mar 02 '25 19:03 ealang