Branch: Tag:

2001-03-11

2001-03-11 18:24:57 by Per Hedbor <ph@opera.com>

Less incorrect layer modes

Rev: lib/modules/_Image_PSD.pmod:1.14

163:    }    c->data = 0;    } + // werror(" mode %s image %O alpha %O\n", + // l->mode, l->image, l->alpha );   // werror("alpha/mask took %4.5f seconds\n", (gethrtime()-st)/1000000.0 );   // werror("TOTAL took %4.5f seconds\n\n", (gethrtime()-stt)/1000000.0 );    return l;
211:    case "scrn": return "screen";    case "over": return "overlay";    -  -  case "div ": return "divide"; //? -  case "idiv": return "divide"; //? +     case "dark": return "min";    case "lite": return "max";   
222:    case "colr": return "color";    case "lum ": return "value";    -  case "smud": -  werror("WARNING: Unsupported mode (smudge). Skipping layer\n"); -  return 0; -  - // WARNING: PSD: Unsupported mode: sLit - // WARNING: PSD: Unsupported mode: hLit -  -  +     default:    werror("WARNING: PSD: Unsupported mode: "+mode+". Skipping layer\n");   // werror("Skipping layer\n");
310:    }    }    } +  werror("%O\n", layers );    return layers;   }