summaryrefslogtreecommitdiff
path: root/apps/plugins/imageviewer/ppm/ppm.c (unfollow)
Commit message (Collapse)Author
2012-11-13imageviewer: gif viewer based on giflib-5.0.2Marcin Bukat
This adds ability to view gif images in rockbox. Works both on color and gray/monochrome targets (greylib). Aspect correction is supported as well. Limitations: - animated gifs are restricted to 32 frames - animated gifs loop always (loopcount is ignored) - plain text extension is not supported - animated gifs with interframe delay = 0 are treated as still images (web browsers usually treat delay 0 as 100ms to prevent exhaustive CPU load by such images) Change-Id: I61501f801ddcd403410e38d83e6bddc9883e7ede
2011-01-19image viewer: ppm:Teruaki Kawashima
* return proper error code when image is too large. * check return value of read() properly. * display progressbar. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29090 a1c6a512-1295-4272-9138-f99709370657
2011-01-09Rework ppmviewer to fit our shiny new imageviewer framework. FS#11818 by me.Marcin Bukat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29012 a1c6a512-1295-4272-9138-f99709370657
2010-11-21FS#6321: Universal Image ViewerTeruaki Kawashima
This unifies jpeg viewer, png viewer, and bmp viewer to one plugin, image viewer, so that you can navigate through different image formats. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28626 a1c6a512-1295-4272-9138-f99709370657
2010-11-01reduce casts between "unsinged char *" and "fb_data *". make calculation ↵Teruaki Kawashima
precise. maintain spaces. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28428 a1c6a512-1295-4272-9138-f99709370657
2010-10-31Fix and extend imageviewer png support. FS#11641 by meMarcin Bukat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28413 a1c6a512-1295-4272-9138-f99709370657
2010-08-28plugins: use lcd_putsf/lcd_putsxyfRafaël Carré
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27926 a1c6a512-1295-4272-9138-f99709370657
2010-07-18Revert accidental commit of "%z" support in r26071 (the implementation ↵Frank Gevaerts
assumed size_t==long, which is not always the case in hosted environments) Remove four remaining uses of %z, three of which were in DEBUGF git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27479 a1c6a512-1295-4272-9138-f99709370657
2010-05-06Move c/h files implementing/defining standard library stuff into a new libc ↵Thomas Martitz
directory, also standard'ify some parts of the code base (almost entirely #include fixes). This is to a) to cleanup firmware/common and firmware/include a bit, but also b) for Rockbox as an application which should use the host system's c library and headers, separating makes it easy to exclude our files from the build. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25850 a1c6a512-1295-4272-9138-f99709370657
2010-04-25Fix for some bogus code in png by Andrew Rodland, fixing a warning when ↵Nils Wallménius
compiling with gcc 4.5 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25709 a1c6a512-1295-4272-9138-f99709370657
2010-02-18FS#10535: bmp viewer plugin.Teruaki Kawashima
* changed bmp.c so that it loads bitmap larger than LCD correctly. * removed bmp entry form inbuilt_filetypes in filetypes.c so that bmp files will be opened with bmp viewer when selected in browser. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24754 a1c6a512-1295-4272-9138-f99709370657
2010-02-12jpeg,png: some minor changes.Teruaki Kawashima
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24621 a1c6a512-1295-4272-9138-f99709370657
2010-01-21jpeg,png: fix typo in comments and indentions.Teruaki Kawashima
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24307 a1c6a512-1295-4272-9138-f99709370657
2010-01-18jpeg,png: Merge user interface code and plugin entry point of the two ↵Teruaki Kawashima
plugins (part of FS#6321). * Created new directory, imageviewer/ and moved both jpeg/ and png/ under it. - this still doesn't merge the two plugins. i.e. both jpeg.rock and png.rock will be made for color targets. - I'm thinking to merge the two plugins to single image viewer later. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24272 a1c6a512-1295-4272-9138-f99709370657
2009-12-21jpeg,png: Change "Off: Quit." to "Show Menu: Quit." so that the message is ↵Teruaki Kawashima
less confusable. fix bug plug_buf is always false in simulator even when plugin buffer is used. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24093 a1c6a512-1295-4272-9138-f99709370657
2009-12-18jpeg,png: Separate code to load file from load_and_show().Teruaki Kawashima
Add a way to abort loading to jpeg inspired by png. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24075 a1c6a512-1295-4272-9138-f99709370657
2009-12-04png: Change zoom in/out method and don't center the view on zoom.Teruaki Kawashima
Don't recalculate resized width or height each time. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23847 a1c6a512-1295-4272-9138-f99709370657
2009-11-18jpeg/png: Remove erased file name from list of file when change file.Teruaki Kawashima
Change trivial check of entries (entries is always > 0). Fix bug of r23632 that error message is shown when change file while there is only one file. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23662 a1c6a512-1295-4272-9138-f99709370657
2009-11-17jpeg/png: refactor use of buf.Teruaki Kawashima
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23655 a1c6a512-1295-4272-9138-f99709370657
2009-11-15jpeg/png: change file list handling a bit.Teruaki Kawashima
* don't sort by plugin, use order of browser. * skip directories. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23632 a1c6a512-1295-4272-9138-f99709370657
2009-11-15jpeg/png: unify code to display image to draw_image(_rect).Teruaki Kawashima
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23631 a1c6a512-1295-4272-9138-f99709370657
2009-07-25Fix some casts from pointer to int, now cast to intptr_tFrank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22038 a1c6a512-1295-4272-9138-f99709370657
2009-07-25Add a png viewer pluginFrank Gevaerts
Author: Christophe Gouiran Flyspray: FS#9493 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22037 a1c6a512-1295-4272-9138-f99709370657