From 4dc24b7768523b0fcf54d8836dd8a56e8497a9af Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 5 Aug 2004 22:49:29 +0000 Subject: [PATCH] This version gets JPGs properly. --- imgsizer | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/imgsizer b/imgsizer index 3aa2274..99ba0ed 100755 --- a/imgsizer +++ b/imgsizer @@ -110,6 +110,12 @@ Options: """ +# Optimization latches -- if an attempt to invoke a command returns 127 +# "not found" there will turn off and that command won't be tried again. +magick = 1 # using ImageMagick by default +rdjpgcom = 1 # using rdjpcom by default +pythonimage = 1 # use python imaging library + def attrformat(xc, dim): if lower: res = " " + dim @@ -248,12 +254,6 @@ root = "." out = "imgsizer-out$$" dir = "." # NOTE: if you are doing