mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-23 09:54:19 +03:00

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);
|