jperon
8b7d60299f
JPG/PNG: MuPDF as default provider ( #6931 )
...
As said in #6929
4 years ago
poire-z
0fb780ea21
PicDocument: log reason of opening failure
5 years ago
Qingping Hou
1605409c60
rename runtimectl to document/canvascontext
6 years ago
Qingping Hou
02eca23649
decouple device from document modules
6 years ago
NiLuJe
6c29b7da65
[fix] PicDocument: Pass a copy of image_bb in getCoverPageImage() ( #4628 )
...
Avoids a use-after-free in mupdf.scaleBlitBuffer
Fix koreader/koreader-base#821
Thanks for the hint, @poire-z ;).
* As @poire-z suggested, the original unscaled bb should probably be free'd.
6 years ago
NiLuJe
e3bcd6c2a9
Really disable HW dithering on Kindle ;) ( #4617 )
...
* Cosmestic tweak to an error message.
PicDocument handles more than just JPEGs ;)
* Bump base
To really disable HW dithering on Kindle ;).
6 years ago
poire-z
7a2bf21434
PicDocument:getCoverPageImage(): use first page instead of MuPDF
...
The dedicated image format library may often give better results
than MuPDF (eg: for animated GIFs).
7 years ago
Frans de Jonge
f6ca1c7c0a
[feat] Open with: choose which engine to use for file ( #3653 )
...
Fixes #3345
* Add SVG to MuPDF filetypes
7 years ago
Frans de Jonge
d714bd3aea
[feat] DocumentRegistry: add getProviders() and preferred by weight ( #3651 )
...
This is step one toward "open with".
References https://github.com/koreader/koreader/issues/3345
* Fix up some mimetypes
* Add XHTML to supported filetypes
* Add a few image files to MuPDF
* ".bmp",
* ".gif",
* ".hdp",
* ".j2k",
* ".jp2",
* ".jpeg",
* ".jpg",
* ".jpx",
* ".jxr",
* ".pam",
* ".pbm",
* ".pgm",
* ".png",
* ".pnm",
* ".ppm",
* ".tif",
* ".tiff",
* ".wdp",
7 years ago
poire-z
53f083f516
Allow for toggling color rendering
...
New menu item in Screen submenu.
hasColorScreen enabled for SDL device.
7 years ago
poire-z
180f5755f4
Allow for colored rendering ( #3276 )
...
* Allow for colored rendering
Available with all engines (CRE, PDF, Images).
Needs to manually add setting: "color_rendering" = true
* Disable color for djvudocument
* Use Screen:isColorEnabled()
* Bump base
7 years ago
poire-z
031df2ffee
Added PicDocument:getCoverPageImage() and :getProps()
...
So an image file can have a cover in coverbrowser's display.
It also allows for an alternative viewer (ImageViewer widget)
when holding on file / View full size cover.
7 years ago
Qingping Hou
11ee8d6fcc
refactor: use new KeyValuePage widget for displaying statistics
9 years ago
Alexander Pletnev
52d821df00
Add Statistic plugin ( #1581 Amount of hours spent on a book)
9 years ago
Hans-Werner Hilse
5af4ccb0c4
add support for GIF and PNG to picdocument provider
...
needs update to latest base
10 years ago
Hans-Werner Hilse
5a36e5427f
fixes for picdocument
...
picdocument didn't use the document API correctly
10 years ago
chrox
2f2d9f1bf7
issue error directly when doc is malformated
...
This should popup a message saying "No reader engine for this file"
instead of a crash when document file is malformated.
This should fix #868 .
10 years ago
Qingping Hou
7ac5b419b5
refactor(doc): use ffi binding in picdocument
10 years ago
chrox
92219a1f1e
cleanup: expand tab to 4 spaces
11 years ago
chrox
62e12ddfba
import document module on-demand
11 years ago
HW
748a443cd5
Merge remote-tracking branch 'upstream/master'
...
resolved conflicts with refactored structure
11 years ago
Qingping Hou
a59723c053
add pic document type
11 years ago