summaryrefslogtreecommitdiff
path: root/sys/src/cmd/abaco
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2013-07-21 00:55:56 +0200
committercinap_lenrek <cinap_lenrek@gmx.de>2013-07-21 00:55:56 +0200
commit638a82236264f32f8988a3bf4b2933df409f5f55 (patch)
tree043d1e98facadf2dc372f86d2a413796998c81b8 /sys/src/cmd/abaco
parent61c82d2bb83ae7c8d6bc47d0ea2b1bd5a117b4f0 (diff)
abaco: use faster resize instead of resample for image scaling
Diffstat (limited to 'sys/src/cmd/abaco')
-rw-r--r--sys/src/cmd/abaco/page.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/src/cmd/abaco/page.c b/sys/src/cmd/abaco/page.c
index 43a356a59..8e46d41d7 100644
--- a/sys/src/cmd/abaco/page.c
+++ b/sys/src/cmd/abaco/page.c
@@ -93,11 +93,11 @@ getfilter(Rune *r, int x, int y)
if(x==0 && y==0)
return smprint("%s", filtertab[i].filter);
if(x!=0 && y!=0)
- return smprint("%s | resample -x %d -y %d", filtertab[i].filter, x, y);
+ return smprint("%s | resize -x %d -y %d", filtertab[i].filter, x, y);
if(x != 0)
- return smprint("%s | resample -x %d", filtertab[i].filter, x);
+ return smprint("%s | resize -x %d", filtertab[i].filter, x);
/* y != 0 */
- return smprint("%s | resample -y %d", filtertab[i].filter, y);
+ return smprint("%s | resize -y %d", filtertab[i].filter, y);
}
static Cimage *cimages = nil;