summaryrefslogtreecommitdiff
path: root/image/png.c
Commit message (Collapse)AuthorAgeFilesLines
* Most of a stop implementation.John Mark Bell2010-04-041-0/+24
| | | | | | | | | Remaining work: 1) Clone content_html_data 2) Cloning content_css_data requires the charset of the old content 3) Calling hlcache_handle_abort() before a content has been created must clean up the retrieval context. svn path=/trunk/netsurf/; revision=10236
* Constify data parameter to *_process_dataJohn Mark Bell2010-04-031-1/+1
| | | | svn path=/trunk/netsurf/; revision=10234
* Use mutator to modify content's title field.John Mark Bell2010-04-031-10/+4
| | | | svn path=/trunk/netsurf/; revision=10231
* The convert stage of a content's state progression no longer reflows the ↵John Mark Bell2010-03-291-1/+1
| | | | | | | | | | | | | content to the provided dimensions. It is now defined as converting the content into a state in which it is ready for use. The user of the content is now responsible for performing an initial reformat (sic) of the content before it can be redrawn. Purge width/height parameters from hlcache_handle_retrieve/content_convert/*_convert APIs. Fix up content handlers affected by the above change in semantics. Ensure that browser_window_callback performs an initial reformat of its content. svn path=/trunk/netsurf/; revision=10207
* Merge jmb/new-cache; r=dsilvers,rs=vinceDaniel Silverstone2010-03-281-4/+8
| | | | svn path=/trunk/netsurf/; revision=10180
* Accomodate for antique versions of libpng (as found with the BeOS R5 ↵François Revel2010-02-171-0/+11
| | | | | | | | | devkit), which either: - don't define the png_jmpbuf macro, - have a different name for png_set_expand_gray_1_2_4_to_8(). svn path=/trunk/netsurf/; revision=10069
* update png handler to not use deprecated/removed call.Vincent Sanders2010-01-281-4/+4
| | | | | | improve type usage to avoid incompatible pointer type warnings on newer libpng versions. svn path=/trunk/netsurf/; revision=9921
* Actually handle failure to allocate bitmap structure or retrieve its data ↵John Mark Bell2009-07-311-15/+35
| | | | | | buffer pointer. I hope these longjmps are valid -- libpng's documentation is unhelpfully vague on this subject. svn path=/trunk/netsurf/; revision=8924
* Merge LibCSS port to trunk.John Mark Bell2009-07-231-1/+2
| | | | svn path=/trunk/netsurf/; revision=8752
* Improve bitmap plotter APIVincent Sanders2009-06-301-10/+15
| | | | svn path=/trunk/netsurf/; revision=8195
* Make libpng image handler set opaque info.Michael Drake2009-03-021-14/+15
| | | | svn path=/trunk/netsurf/; revision=6669
* Add missing calls to bitmap_modified(). This fixes using libpng in the BeOS ↵François Revel2008-10-101-3/+4
| | | | | | port. svn path=/trunk/netsurf/; revision=5532
* Fix format string warning errorDaniel Silverstone2008-10-101-1/+1
| | | | svn path=/trunk/netsurf/; revision=5528
* 'unsigned long' -> 'colour' where it made sense.John Tytgat2008-09-281-2/+2
| | | | svn path=/trunk/netsurf/; revision=5459
* A bunch of fixes to the libpng bindingJohn Mark Bell2008-09-151-15/+23
| | | | svn path=/trunk/netsurf/; revision=5338
* Fix include path for libpng.François Revel2008-09-151-1/+1
| | | | | | | | Libpng mandates using <png.h>, if it doesn't work for you, fix your OS :D (or use -I) See http://www.libpng.org/pub/png/libpng-1.2.5-manual.html#section-2 svn path=/trunk/netsurf/; revision=5333
* Add libpng support. Default to off.Daniel Silverstone2008-09-151-0/+284
| | | | svn path=/trunk/netsurf/; revision=5330
* [project @ 2005-01-02 04:05:21 by jmb]John Mark Bell2005-01-021-256/+0
| | | | | | Begone, redundant code svn path=/import/netsurf/; revision=1422
* [project @ 2004-10-17 21:37:01 by jmb]John Mark Bell2004-10-171-0/+10
| | | | | | | Fixup to use plotters. Someone please fix the png bug. ta ;) svn path=/import/netsurf/; revision=1321
* [project @ 2004-10-04 23:54:42 by rjw]Richard Wilson2004-10-041-0/+1
| | | | | | Moved GIF file reading to image/, optimisation of plotting for GIFs, JNGs, PNGs and JPEGs, initial work for toolbar customisation. Possibly some other things too. svn path=/import/netsurf/; revision=1301
* [project @ 2004-09-04 16:41:28 by jmb]John Mark Bell2004-09-041-0/+245
Fix jpeg redraw Move png.c/h to /image and rework to use the bitmap code Make RISC OS bitmap struct publically accessible (via riscos/bitmap.h) Draw export now embeds JPEGs and PNGs/MNGs/JNGs correctly again. Background images are now plotted correctly again. svn path=/import/netsurf/; revision=1268