40 INLINE
void set_color_type(ColorType type);
41 INLINE
void set_num_channels(
int num_channels);
42 INLINE
void set_maxval(xelval maxval);
43 INLINE
void set_x_size(
int x_size);
44 INLINE
void set_y_size(
int y_size);
48 virtual bool supports_floating_point();
49 virtual bool supports_integer();
50 virtual bool write_pfm(
const PfmFile &pfm);
52 virtual int write_data(
xel *array, xelval *alpha);
53 virtual bool supports_write_row()
const;
54 virtual bool supports_grayscale()
const;
55 virtual bool write_header();
56 virtual bool write_row(
xel *array, xelval *alpha);
58 virtual bool supports_stream_write()
const;
60 INLINE
bool is_valid()
const;
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is the base class of a family of classes that represent particular image file types that PNMImag...
Defines a pfm file, a 2-d table of floating-point numbers, either 3-component or 1-component,...
This is an abstract base class that defines the interface for writing image files of various types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.