• Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    polluks
    Posts: 778 from 2007/10/23
    From: Gelsenkirchen,...
    Code:
    --- agaconv.bak	2021-04-03 22:28:32 +0200
    +++ agaconv 2021-04-05 20:46:07 +0200
    @@ -885,11 +885,11 @@
    ;;
    aga8|aga7|aga6|aga5|aga4|aga3)
    planes=$(expr substr $colorMode 4 1)
    - maxColors=$((2**$planes)) # number of planes to the power of 2
    + maxColors=$((1<<$planes)) # number of planes to the power of 2
    ;;
    ocs5|ocs4|ocs3)
    planes=$(expr substr $colorMode 4 1)
    - maxColors=$((2**$planes)) # number of planes to the power of 2
    + maxColors=$((1<<$planes)) # number of planes to the power of 2
    agaconvEncodeColorOption="--color-bits 12"
    ;;
    normal)
    @@ -966,14 +966,14 @@

    case $hcQuant in
    wu)
    - if [[ $hamMode=="yes" ]]; then
    + if [[ $hamMode == "yes" ]]; then
    hcQuantOption=quant_wu
    else
    hcQuantOption=
    fi
    ;;
    neuquant)
    - if [[ $hamMode=="yes" ]]; then
    + if [[ $hamMode == "yes" ]]; then
    # for HAM neu_quant is default (and not specified on command line)
    hcQuantOption=
    else


    [ Editiert durch polluks 05.04.2021 - 20:47 ]
    Pegasos II G4: MorphOS 3.9, Zalman M220W · iMac G5 12,1 17", MorphOS 3.18
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.18
  • »05.04.21 - 18:40
    Profile