im_char2Compression(3)

im_char2Compression3

Decode image descriptors

Part of im_printdesc(3).

Usage

#include <vips/vips.h>

void im_printdesc(image)
IMAGE *image;

char *im_Type2char( ty );
int ty;

char *im_BandFmt2char( bf );
int bf;

char *im_Coding2char( cod );
int cod;

char *im_Compression2char( comp );
int comp;

int im_char2Type( str );
char *str;

int im_char2BandFmt( str );
char *str;

int im_char2Coding( str );
char *str;

int im_char2Compression( str );
char *str;

Overview

im_printdesc(3) prints the image descriptor pointed by image.

im_printdesc(3) exports the functions it uses to code and uncode the type fields in image headers. The functions which return char * return a static string of the form "<bad Type>" on error,

The functions which return int return -1 on error, setting im_error(3).

Releases

4 releases since Debian 3.1 (Sarge); the text changed 1 time.

  1. 3.1–4.0
  2. 5.0–6.0

Author

N. Dessipris - 11/04/1990

From libvips-dev 7.20.7-1+b3 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.