Sha256: 3b208fde279832d2bf32791920c8e1f827dd97fc4bcf504a1b3b055536de82e8

Contents?: true

Size: 1.63 KB

Versions: 3

Compression:

Stored size: 1.63 KB

Contents

/**********************************************************************
 * File:        imgerrs.h  (Formerly imgerr.h)
 * Description: Definitions of errors related to IMAGE operations.
 * Author:      Ray Smith
 * Created:     Tue Aug 14 10:10:53 BST 1990
 *
 * (C) Copyright 1990, Hewlett-Packard Ltd.
 ** Licensed under the Apache License, Version 2.0 (the "License");
 ** you may not use this file except in compliance with the License.
 ** You may obtain a copy of the License at
 ** http://www.apache.org/licenses/LICENSE-2.0
 ** Unless required by applicable law or agreed to in writing, software
 ** distributed under the License is distributed on an "AS IS" BASIS,
 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 ** See the License for the specific language governing permissions and
 ** limitations under the License.
 *
 **********************************************************************/

#ifndef           IMGERRS_H
#define           IMGERRS_H

#include          "errcode.h"

const ERRCODE BADIMAGETYPE = "Unrecognized image type";
const ERRCODE CANTREADIMAGETYPE = "Can't read this image type";
const ERRCODE CANTWRITEIMAGETYPE = "Can't write this image type";
const ERRCODE IMAGEUNDEFINED = "Attempt to operate on undefined image";
const ERRCODE BADIMAGECOORDS = "Coordinates in image out of bounds";
const ERRCODE BADIMAGESEEK = "Can't seek backwards in a buffered image!";
const ERRCODE BADIMAGESIZE = "Illegal image size";
const ERRCODE BADIMAGEFORMAT = "Illegal image format";
const ERRCODE BADBPP = "Only 1,2,4,5,6,8 bpp are supported";
const ERRCODE BADWINDOW = "Convolution window must have odd dimensions";
#endif

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tesseract_bin-1.0.2 vendor/tesseract-2.04/image/imgerrs.h
tesseract_bin-1.0.1 vendor/tesseract-2.04/image/imgerrs.h
tesseract_bin-1.0.0 vendor/tesseract-2.04/image/imgerrs.h