mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-27 06:19:42 +03:00
f61d7fe881
Thumnails now created with a palette to fix incorrect colour rendition. Thumnails output to a 32bpp sprite where possible. Thumnails oversampled to improve display if desired. svn path=/import/netsurf/; revision=744
17 lines
533 B
C
17 lines
533 B
C
/*
|
|
* This file is part of NetSurf, http://netsurf.sourceforge.net/
|
|
* Licensed under the GNU General Public License,
|
|
* http://www.opensource.org/licenses/gpl-license
|
|
* Copyright 2004 James Bursa <bursa@users.sourceforge.net>
|
|
*/
|
|
|
|
/** \file
|
|
* Page thumbnail creation (interface).
|
|
*/
|
|
|
|
#include "oslib/osspriteop.h"
|
|
|
|
void thumbnail_create(struct content *content, osspriteop_area *area,
|
|
osspriteop_header *sprite, int width, int height);
|
|
osspriteop_area* thumbnail_initialise(int width, int height, os_mode mode);
|