Quote:
Originally Posted by Markismus
In koreader/frontend/document you can find the lua-files cre-, dvju-, pdf- and pic-documents. The last lines in each of these lua-files read:
Code:
registry:addProvider("extension", "name", document_reader_to_use)
pdfdocument.lua is used for the cbz-files. picdocument is used for jpg-files. Different readers would explain why one is functioning different than the other.
picdocument.lua calls pic.lua in koreader/ffi. pdfdocument probably calls mupdf_h.lua or mupdfimg.lua.
|
Ok, first test; I'll put a bunch of .jpg together into a .cbz file and see how they are handled. Well, for some of the pictures that were a little under the size of the screen only a little of the distortion is apparent, for one that was a little larger than the screen size the distortion is very obvious. These are all .jpg files in a .zip file with normal compression and the .zip renamed to .cbz. One of them I also have as a separate .jpg, and it looks the same as the one in the .cbz. When viewing both I had the "Switch zoom mode" option and
with the .cbz I had bottom menu items but not when viewing the separate .jpg.
I am leaning toward a difference in the .jpg of the .cbz from the other thread, perhaps related to gamma? It may be that there is little or no gradient in those images. Whereas photos and originally color images would. Just a guess.
Luck;
Ken