Pino Toscano
36924a897f
When loading a comicbook, try to get just the size of the various images without loading them if possible.
...
Instead of just fully loading the images, make use of QImageReader to query for the size if available, and in case just do the old way (full image loading).
This drastically kills the loading time of comicbook documents of at least 50%, even by 75% (and possibly something more) on the average case.
svn path=/trunk/KDE/kdegraphics/okular/; revision=917041
17 years ago
Pino Toscano
211f082f1e
Scan recursively for images in CBZ archives.
...
BUG: 178029
svn path=/trunk/KDE/kdegraphics/okular/; revision=899134
17 years ago
Pino Toscano
e0987c2989
fix logic error
...
BUG: 178028
svn path=/trunk/KDE/kdegraphics/okular/; revision=898354
17 years ago
Albert Astals Cid
38a3e18279
fix typo spotted by Yuri Chornoivan
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=882560
18 years ago
Pino Toscano
008fce9421
Hack around the fact that CBR or CBZ documents can ahve the wrong extension.
...
(And I wonder, if the only way to recognize them is via extension, wtf?)
BUG: 174701
svn path=/trunk/KDE/kdegraphics/okular/; revision=882007
18 years ago
Pino Toscano
169df555d5
report a message when there is no unrar, or the unrar is not suitable
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=809958
18 years ago
Pino Toscano
f697cdf007
Add a close() method for the comicbook document so:
...
- resources can be freed when closing the Okular document for real (and not just when opening a new comicbook document or quitting)
- we do not crash when doing an opening sequence like: cbz -> cbr -> cbz
svn path=/trunk/KDE/kdegraphics/okular/; revision=798868
18 years ago
Pino Toscano
3c64c3232a
Start adding a minimal way to handle the different flavours of unrar.
...
For now, deny the usage of the "unrar-free", as it does not seem to be much usable...
svn path=/trunk/KDE/kdegraphics/okular/; revision=754056
18 years ago
Tobias Koenig
7e16285d28
Add a new helper functions which allow sorting of strings which
...
contains numbers in natural order
svn path=/trunk/KDE/kdegraphics/okular/; revision=706529
19 years ago
Tobias Koenig
cde58f48ba
* Check for Landscape or Portrait mode (patch by Pino)
...
* Fixed bug by clearing the page map on opening
svn path=/trunk/KDE/kdegraphics/okular/; revision=706496
19 years ago
Albert Astals Cid
0d47b62715
krazy include order issues
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=655893
19 years ago
Tobias Koenig
deabbae3bf
Say hello to the new ComicBook generator for okular.
...
Information about this format and testfiles can be found at
http://en.wikipedia.org/wiki/CDisplay_RAR_Archived_Comic_Book_File
svn path=/trunk/playground/graphics/okular/; revision=624702
19 years ago