github.com/boki/go-xmp@v1.0.1/models/crs/enum.go (about)

     1  // Copyright (c) 2017-2018 Alexander Eichhorn
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License"): you may
     4  // not use this file except in compliance with the License. You may obtain
     5  // a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
    11  // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
    12  // License for the specific language governing permissions and limitations
    13  // under the License.
    14  
    15  package crs
    16  
    17  type CropUnits int
    18  
    19  const (
    20  	CropUnitsPixels = iota // 0
    21  	CropUnitsInches        // 1
    22  	CropUnitsCm            // 2
    23  )
    24  
    25  type ToneCurve string
    26  
    27  const (
    28  	ToneCurveLinear         ToneCurve = "Linear"
    29  	ToneCurveMediumContrast ToneCurve = "Medium Contrast"
    30  	ToneCurveStrongContrast ToneCurve = "Strong Contrast"
    31  	ToneCurveCustom         ToneCurve = "Custom"
    32  )
    33  
    34  type WhiteBalance string
    35  
    36  const (
    37  	WhiteBalanceAsShot      WhiteBalance = "As Shot"
    38  	WhiteBalanceAuto        WhiteBalance = "Auto"
    39  	WhiteBalanceDaylight    WhiteBalance = "Daylight"
    40  	WhiteBalanceCloudy      WhiteBalance = "Cloudy"
    41  	WhiteBalanceShade       WhiteBalance = "Shade"
    42  	WhiteBalanceTungsten    WhiteBalance = "Tungsten"
    43  	WhiteBalanceFluorescent WhiteBalance = "Fluorescent"
    44  	WhiteBalanceFlash       WhiteBalance = "Flash"
    45  	WhiteBalanceCustom      WhiteBalance = "Custom"
    46  )