#
#  This file is used to generate psImageErrors.h content
#
#  Format is:
#  ERRORNAME(one word)    ERRORTEXT
#
#  N.B. in code, the ERRORNAME appears as PS_ERRORTEXT_ERRORNAME
####################################################################
# psImage
psImage_AREA_NEGATIVE                  Specified number of rows (%d) or columns (%d) is invalid.
psImage_NOT_AN_IMAGE                   The input psImage must have a PS_DIMEN_IMAGE dimension type.
psImage_IMAGE_NULL                     Can not operate on a NULL psImage.
psImage_IMAGE_TYPE_UNSUPPORTED         Specified psImage type, %s, is not supported.
psImage_INTERPOLATE_METHOD_INVALID     Specified interpolation method (%d) is not supported.
psImage_REGION_NULL                    Specified psRegion is NULL.  Operation could not be performed.
psImage_SUBSET_RANGE_INVALID           Specified subset range, [%d:%d,%d:%d], is invalid or outside input psImage's boundaries, [0:%d,0:%d].
psImage_SUBSET_RANGE_MALFORMED         Specified subset range, [%d:%d,%d:%d], is invalid.  Ranges must be incremental.
psImage_SUBSECTION_NULL                Specified subsection string can not be NULL.
psImage_SUBSECTION_INVALID             Specified subsection string, '%s', can not be parsed.  Must be in the form '[x1:x2,y1:y2]'.
psImage_NOT_PARENT                     Specified psImage can not be a child of another psImage.
psImage_INPLACE_NOTSUPPORTED           Specified input and output psImage can not reference the same psImage.
psImage_SUBSET_ZERO_SIZE               Specified subset, [%d:%d,%d:%d], contains no pixel data.
psImage_IMAGE_MASK_SIZE                Input psImage mask size, %dx%d, does not match psImage input size, %dx%d.
psImage_IMAGE_MASK_TYPE                Input psImage mask type, %s, is not the supported mask datatype of %s.
psImage_BAD_STAT                       Specified statistic option, %d, is not valid.  Must specify one and only one statistic type.
psImage_NO_STAT_OPTIONS                Specified statistic option did not indicate any operation to perform.
psImage_STAT_NULL                      Specified statistic can not be NULL.
psImage_SLICE_DIRECTION_INVALID        Specified slice direction, %d, is invalid.
psImage_PARAMETER_OUTOF_TYPERANGE      Specified %s value, %g, is outside of psImage type's range (%s: %g to %g).
psImage_nSamples_TOOSMALL              Specified number of samples, %d, must be greater than 1 to make a line.
psImage_LINE_NOT_IN_IMAGE              Specified line, (%f,%f)->(%f,%f), does not entirely lie in psImage's boundaries, [0:%d,0:%d].
psImage_RADII_VECTOR_NULL              Specified radii vector can not be NULL.
psImage_CENTER_NOT_IN_IMAGE            Specified center, (%g,%g), is outside of the psImage boundaries, [0:%d,0:%d].
psImage_RADII_VECTOR_TOOSMALL          Input radii vector size, %d, can not be less than 2.
#
psImageFFT_IMAGE_TYPE_UNSUPPORTED      Input psImage type (%s) is not supported. Valid image types are psF32 and psC32.
psImageFFT_REVERSE_NOT_COMPLEX         Input psImage (%s) is not complex.  Reverse FFT operation requires a complex psImage input.
psImageFFT_FORWARD_NOT_REAL            Input psImage (%s) is not real.  Forward FFT operation requires a real psImage input.
psImageFFT_FFTW_PLAN_NULL              Could not create a valid FFT plan to perform the transform.
psImageFFT_REAL_IMAG_TYPE_MISMATCH     Real psImage type (%s) and imaginary psImage type (%s) must be the same.
psImageFFT_REAL_IMAG_SIZE_MISMATCH     Real psImage size (%dx%d) and imaginary psImage size (%dx%d) must be the same.
psImageFFT_NONREAL_NOTSUPPORTED        Input psImage type, %s, is required to be either psF32 or psF64.
psImageFFT_NONCOMPLEX_NOTSUPPORTED     Input psImage type, %s, is required to be either psC32 or psC64.
psImageFFT_REAL_FORWARD_NOTSUPPORTED   The PS_FFT_FORWARD and PS_FFT_REAL_RESULT combinition is not supported.
psImageFFT_FORWARD_REVERSE             Can not specify both PS_FFT_FORWARD and PS_FFT_REVERSE options.
psImageFFT_NO_DIRECTION_OPTION         Must specify either PS_FFT_FORWARD or PS_FFT_REVERSE option.
#
psImageIO_FILENAME_NULL                Specified filename can not be NULL.
psImageIO_FILENAME_INVALID             Could not open file,'%s'.\nCFITSIO Error: %s
psImageIO_EXTNAME_INVALID              Could not find HDU with extension name '%s' in file %s.\nCFITSIO Error: %s
psImageIO_EXTNUM_INVALID               Could not find HDU #%d in file %s.\nCFITSIO Error: %s
psImageIO_DATATYPE_UNKNOWN             Could not determine image data type for file %s.\nCFITSIO Error: %s
psImageIO_IMAGE_DIM_UNKNOWN            Could not determine image dimensions for file %s.\nCFITSIO Error: %s
psImageIO_IMAGE_SIZE_UNKNOWN           Could not determine image size for file %s.\nCFITSIO Error: %s
psImageIO_IMAGE_DIMENSION_UNSUPPORTED  Image number of dimensions, %d, is not valid.  Only two or three dimensions supported for FITS I/O.
psImageIO_FITS_TYPE_UNSUPPORTED        FITS image type, BITPIX=%d, in file %s is not supported.
psImageIO_READ_FAILED                  Reading from FITS file %s failed.\nCFITSIO Error: %s
psImageIO_TYPE_UNSUPPORTED             Input psImage type, %s, is not supported.
psImageIO_WRITE_EXTNUM_INVALID         Specified extension number, %d, must not exceed number of HDUs, %d, by more than one.
psImageIO_FILENAME_CREATE_FAILED       Could not create file,'%s'.\nCFITSIO Error: %s
psImageIO_CREATE_EXTENSION_FAILED      Could not create EXTNAME keyword for file,'%s'.\nCFITSIO Error: %s
psImageIO_CREATE_HDU_FAILED            Could not create HDU for writing psImage in file,'%s'.\nCFITSIO Error: %s
psImageIO_WRITE_FAILED                 Could not write psImage data to file,'%s'.\nCFITSIO Error: %s
#
psImageManip_MAXMIN                    Specified min value, %g, can not be greater than the specified max value, %g.
psImageManip_MAXMIN_REAL               Specified real-portion of min value, %g, can not be greater than the real-portion of max value, %g.
psImageManip_MAXMIN_IMAG               Specified imaginary-portion of min value, %g, can not be greater than the imaginary-portion of max value, %g.
psImageManip_OPERATION_NULL            Operation can not be NULL.
psImageManip_OVERLAY_TYPE_MISMATCH     Input overlay psImage type, %s, must match input psImage type, %s.
psImageManip_CLIP_VALUE_INVALID        Specified %s value, %g%+gi, is not the the range of input psImage's valid pixel values (%s), i.e. [%g:%g].
psImageManip_OVERLAY_OPERATOR_INVALID  Specified operation, '%s', is not supported.
psImageManip_SCALE_NOT_POSITIVE        Specified scale value, %d, must be a positive value.
psImageManip_INTERPOLATION_MODE_UNSUPPORTED Specified interpolation mode, %d, is unsupported.
psImageConvolve_SHIFT_NULL             Specified shift vectors can not be NULL.
psImageConvolve_KERNEL_NULL            Specified psKernel can not be NULL.
psImageConvolve_SHIFT_TYPE_MISMATCH    Input t-, x-, and y-shift vector types (%s/%s/%s) must match.
psImageConvolve_FFT_FAILED             Failed to perform a fourier transform of input image.
psImageConvolve_KERNEL_FFT_FAILED      Failed to perform a fourier transform of kernel.
psImageConvolve_KERNEL_TOO_LARGE       Specified psKernel size, %dx%d, can not be larger than input psImage size, %dx%d.
psImage_COEFF_NULL                     Polynomial coefficients cannot be NULL.
psImageManip_TRANSFORM_NULL            Specified input transform can not be NULL.