Woolz Image Processing
Version 1.8.3
|
Functions for reading and writting Woolz objects to and from external data formats. More...
Functions | |
WlzEffFormat | WlzEffStringExtToFormat (const char *extStr) |
Returns a file format for the given file extension string. More... | |
WlzEffFormat | WlzEffStringToFormat (const char *fmtStr) |
Returns a file format for the given file format string. More... | |
const char * | WlzEffStringFromFormat (WlzEffFormat fileFmt, const char **dstExtStr) |
Returns a string which is suitable for displaying the given format and sets a destination pointer for the formats file extension. More... | |
WlzEffFormat | WlzEffStringFormatFromFileName (const char *fNameStr) |
Returns a the file format implied by the file extension used in the given file name. If no match is found WlzEffFormat::WLZEFF_FORMAT_NONE is returned. More... | |
WlzObject * | WlzEffReadObj (FILE *fP, const char *fName, WlzEffFormat fFmt, int split, int sTrans, int gTrans, WlzErrorNum *dstErr) |
Reads a woolz object from the the given file names(s) or opened file, where the file format is that given as a parameter. The ANL, ICS, PNM (and a few other multi file formats) require a file name, for all other formats either the file name or a file pointer may be given. More... | |
WlzErrorNum | WlzEffWriteObj (FILE *fP, const char *fName, WlzObject *obj, WlzEffFormat fFmt) |
Writes a woolz object to the the given file stream, with the given file format. More... | |
int | WlzEffNumberOfFormats (void) |
Retuns the number of file formats, ie WLZEFF_FORMAT_COUNT - 1. More... | |
char * | WlzEffFormatTable (unsigned indWth, unsigned desWth, unsigned extWth, WlzErrorNum *dstErr) |
Creates an ascii table of the valid formats supported by WlzExtFF. This may be useful for giving usage information in binaries. More... | |
Functions for reading and writting Woolz objects to and from external data formats.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.