# resize.h

Go to the documentation of this file.

    00001 /*
    00002   Copyright 1999-2009 ImageMagick Studio LLC, a non-profit organization
    00003   dedicated to making software imaging solutions freely available.
    00004
    00005   You may not use this file except in compliance with the License.
    00006   obtain a copy of the License at
    00007
    00008     http://www.imagemagick.org/script/license.php
    00009
    00010   Unless required by applicable law or agreed to in writing, software
    00011   distributed under the License is distributed on an "AS IS" BASIS,
    00012   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00013   See the License for the specific language governing permissions and
    00014   limitations under the License.
    00015
    00016   MagickCore image resize methods.
    00017 */
    00018 #ifndef _MAGICKCORE_RESIZE_H
    00019 #define _MAGICKCORE_RESIZE_H
    00020
    00021 #if defined(__cplusplus) || defined(c_plusplus)
    00022 extern "C" {
    00023 #endif
    00024
    00025 typedef enum
    00026 {
    00027   UndefinedFilter,
    00028   PointFilter,
    00029   BoxFilter,
    00030   TriangleFilter,
    00031   HermiteFilter,
    00032   HanningFilter,
    00033   HammingFilter,
    00034   BlackmanFilter,
    00035   GaussianFilter,
    00036   QuadraticFilter,
    00037   CubicFilter,
    00038   CatromFilter,
    00039   MitchellFilter,
    00040   LanczosFilter,
    00041   BesselFilter,
    00042   SincFilter,
    00043   KaiserFilter,
    00044   WelshFilter,
    00045   ParzenFilter,
    00046   LagrangeFilter,
    00047   BohmanFilter,
    00048   BartlettFilter,
    00049   SentinelFilter  /* a count of all the filters, not a real filter */
    00050 } FilterTypes;
    00051
    00052 extern MagickExport Image
    00053   *AdaptiveResizeImage(const Image *,const unsigned long,const unsigned long,
    00054     ExceptionInfo *),
    00055   *LiquidRescaleImage(const Image *,const unsigned long,const unsigned long,
    00056     const double,const double,ExceptionInfo *),
    00057   *MagnifyImage(const Image *,ExceptionInfo *),
    00058   *MinifyImage(const Image *,ExceptionInfo *),
    00059   *ResampleImage(const Image *,const double,const double,const FilterTypes,
    00060     const double,ExceptionInfo *),
    00061   *ResizeImage(const Image *,const unsigned long,const unsigned long,
    00062     const FilterTypes,const double,ExceptionInfo *),
    00063   *SampleImage(const Image *,const unsigned long,const unsigned long,
    00064     ExceptionInfo *),
    00065   *ScaleImage(const Image *,const unsigned long,const unsigned long,
    00066     ExceptionInfo *),
    00067   *ThumbnailImage(const Image *,const unsigned long,const unsigned long,
    00068     ExceptionInfo *),
    00069   *ZoomImage(const Image *,const unsigned long,const unsigned long,
    00070     ExceptionInfo *);
    00071
    00072 #if defined(__cplusplus) || defined(c_plusplus)
    00073 }
    00074 #endif
    00075
    00076 #endif