-
Notifications
You must be signed in to change notification settings - Fork 181
/
image_type.go
27 lines (23 loc) · 1.02 KB
/
image_type.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright 2013 Herbert G. Fischer. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package imagick
/*
#include <wand/MagickWand.h>
*/
import "C"
type ImageType int
const (
IMAGE_TYPE_UNDEFINED ImageType = C.UndefinedType
IMAGE_TYPE_BILEVEL ImageType = C.BilevelType
IMAGE_TYPE_GRAYSCALE ImageType = C.GrayscaleType
IMAGE_TYPE_GRAYSCALE_MATTE ImageType = C.GrayscaleMatteType
IMAGE_TYPE_PALETTE ImageType = C.PaletteType
IMAGE_TYPE_PALETTE_MATTE ImageType = C.PaletteMatteType
IMAGE_TYPE_TRUE_COLOR ImageType = C.TrueColorType
IMAGE_TYPE_TRUE_COLOR_MATTE ImageType = C.TrueColorMatteType
IMAGE_TYPE_COLOR_SEPARATION ImageType = C.ColorSeparationType
IMAGE_TYPE_COLOR_SEPARATION_MATTE ImageType = C.ColorSeparationMatteType
IMAGE_TYPE_OPTIMIZE ImageType = C.OptimizeType
IMAGE_TYPE_PALETTE_BILEVEL_MATTE ImageType = C.PaletteBilevelMatteType
)