php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
wbmp.c File Reference
#include <stdio.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include "wbmp.h"
#include "gd.h"
#include "gdhelpers.h"

Go to the source code of this file.

Functions

int getmbi (int(*getin)(void *in), void *in)
 
void putmbi (int i, void(*putout)(int c, void *out), void *out)
 
int skipheader (int(*getin)(void *in), void *in)
 
Wbmpcreatewbmp (int width, int height, int color)
 
int readwbmp (int(*getin)(void *in), void *in, Wbmp **return_wbmp)
 
int writewbmp (Wbmp *wbmp, void(*putout)(int c, void *out), void *out)
 
void freewbmp (Wbmp *wbmp)
 
void printwbmp (Wbmp *wbmp)
 

Function Documentation

◆ createwbmp()

Wbmp * createwbmp ( int width,
int height,
int color )

Definition at line 112 of file wbmp.c.

◆ freewbmp()

void freewbmp ( Wbmp * wbmp)

Definition at line 298 of file wbmp.c.

◆ getmbi()

int getmbi ( int(* getin )(void *in),
void * in )

Definition at line 38 of file wbmp.c.

◆ printwbmp()

void printwbmp ( Wbmp * wbmp)

Definition at line 311 of file wbmp.c.

◆ putmbi()

void putmbi ( int i,
void(* putout )(int c, void *out),
void * out )

Definition at line 65 of file wbmp.c.

◆ readwbmp()

int readwbmp ( int(* getin )(void *in),
void * in,
Wbmp ** return_wbmp )

Definition at line 152 of file wbmp.c.

◆ skipheader()

int skipheader ( int(* getin )(void *in),
void * in )

Definition at line 91 of file wbmp.c.

◆ writewbmp()

int writewbmp ( Wbmp * wbmp,
void(* putout )(int c, void *out),
void * out )

Definition at line 252 of file wbmp.c.