all channels master
authorJann Horn <jann@thejh.net>
Tue, 5 Nov 2013 21:55:52 +0000 (22:55 +0100)
committerJann Horn <jann@thejh.net>
Tue, 5 Nov 2013 21:55:52 +0000 (22:55 +0100)
detafelator.c

index ebc68b5..fef4695 100644 (file)
@@ -48,6 +48,7 @@ int main(int argc, char **argv) {
           /*avg(*/pxptr(oimg,x-1,y)[0]/*,pxptr(oimg,x,y-1)[0])*/ - (pxptr(iimg, x, y)[0]-128)
         );
       }
+      pxptr(oimg,x,y)[2] = pxptr(oimg,x,y)[1] = pxptr(oimg,x,y)[0];
     }
   }