refactoring: use Document API getCoverPageImage to get cover image
This commit is contained in:
1 parent
40bddf0735
commit
0bc3eadcae
8 files changed
+130
-170
No files matched your search
@@ -212,6 +212,10 @@ function Document:getOCRWord(pageno, rect)
|
||||
return nil
|
||||
end
|
||||
|
||||
function Document:getCoverPageImage()
|
||||
return nil
|
||||
end
|
||||
|
||||
function Document:renderPage(pageno, rect, zoom, rotation, gamma, render_mode)
|
||||
local hash = "renderpg|"..self.file.."|"..pageno.."|"..zoom.."|"..rotation.."|"..gamma.."|"..render_mode
|
||||
local page_size = self:getPageDimensions(pageno, zoom, rotation)
|
||||
|
||||
Reference in new issue
Block a user