2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
Commit Graph

10 Commits

Author SHA1 Message Date
Hans-Werner Hilse
0c80537003 allow image widgets to do alpha-blitting
when the image (e.g. a PNG) does contain an alpha channel, that can
be honored by ImageWidget. It doesn't do so by default for compatibility
(arguably, we should change that in the future), it has to be enabled
by setting the "alpha" property to "true" (boolean, not string).
2014-11-28 15:37:11 +00:00
chrox
f52872b081 default autoscale for IconButton 2014-11-20 18:02:50 +08:00
Hans-Werner Hilse
e0868826ad use new FFI based mupdf API
This will use the new API where the Lua/C interface was used before
and also drop usage of mupdfimg wrapper which is now implemented
within the mupdf interface
2014-10-20 16:49:10 +02:00
chrox
0bc3eadcae refactoring: use Document API getCoverPageImage to get cover image 2014-08-27 11:07:25 +08:00
chrox
a2b232c80b add image cache 2014-08-22 21:32:03 +08:00
chrox
f37faadcf1 ImageWidget now supports png, jpg and tiff files 2014-08-19 12:11:49 +08:00
chrox
3018c7c6b6 add rotate method for ImageWidget 2014-08-14 20:11:21 +08:00
chrox
9f3eb0b784 rescale image if width or height is specified in ImageWidget 2014-08-14 19:51:40 +08:00
chrox
92219a1f1e cleanup: expand tab to 4 spaces 2014-03-13 21:52:43 +08:00
HW
ef111b99c6 Refactored to use strictly locals 2013-10-18 22:38:07 +02:00