Permalink
Browse files

image-sampled-output-cmdline.lua: Handle -F/--filter option

  • Loading branch information...
1 parent 40cdd1b commit f5f498020a7d7b340bedf6fbe889caecf9307c8a @snogglethorpe committed Apr 8, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 image-sampled-output-cmdline.lua
@@ -90,6 +90,10 @@ function img_output_cmdline.option_parser (params, default_aspect_ratio)
end
end
+ local function set_filter (arg)
+ cmdlineparser.store_with_sub_params (arg, "filter", params, "type")
+ end
+
return cmdlineparser {
{ "-s/--size=WIDTHxHEIGHT", set_size,
doc = [[Set output image size to WIDTH by HEIGHT pixels]] },

0 comments on commit f5f4980

Please sign in to comment.