20 int wrap,
int fill_type,
float fill);
General image parameter class.
Bimage * img_resize(Bimage *p, Vector3< int > newsize, Vector3< int > translate, int wrap, int fill_type, float fill)
Resizes without interpolation or rescaling.
Class for 3-value vectors.
Bimage * img_resize_to_next_power2(Bimage *p, int fill_type, float fill)
Resizes without interpolation or rescaling to the next power of 2.
int img_shrink_wrap(Bimage *p, Vector3< int > newsize, Vector3< int > translate)
Shrinks an image to a new size with wrapping of the excluded edges.
Header file for 2D and 3D image I/O.
Bimage * img_pad(Bimage *p, int size, int fill_type, float fill)
Pads an image to a new size with a given fill value.