Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit f5f498020a7d7b340bedf6fbe889caecf9307c8a 1 parent 40cdd1b
@snogglethorpe authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 image-sampled-output-cmdline.lua
View
4 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]] },
Please sign in to comment.
Something went wrong with that request. Please try again.