Changes between Version 3 and Version 4 of img2rr
- Timestamp:
- Oct 16, 2010, 5:54:25 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
img2rr
v3 v4 12 12 == Options == 13 13 {{{ 14 --compression-quality Compression quality varies from 0 to 100, where 100 15 is best. Currently only for JPEG compression 16 --compression-type Compression type can be: NONE, JPEG, PACKBITS, or 17 DEFLATE 18 --create-histogram Computes a histogram. 19 --create-histogram-fast Computes a histogram in fast mode which samples 20 partial tiles. 21 --create-mask Computes a mask which applies to an image for cutting 22 off black specks around the image. 14 23 --disable-elev Will disable the elevation 15 24 --disable-notify Takes an argument. Arguments are ALL, WARN, NOTICE, … … 18 27 line. All argument are case insensitive. Default is 19 28 all are enabled. 29 --disable-plugin Will disable the plugin loader 30 --histogram-bins Number of histogram bins. This will override the 31 default for scalar type. Also this will force a 32 separate pass. 33 --histogram-max Maximum histogram value to use. This will override 34 the default for scalar type. Also this will force a 35 separate pass. 36 --histogram-min Minimum histogram value to use. This will override 37 the default for scalar type. Also this will force a 38 separate pass. 39 --histogram-r0 Forces create-histogram code to compute a histogram 40 using r0. If source image has reduced resolution 41 sets built in a separate pass will be made at r0. 20 42 --list-entries Lists the entries within the image 21 43 --ossim-logfile takes a logfile as an argument. All output messages 22 44 are redirected to the specified log file. By default 23 45 there is no log file and all messages are enabled. 24 -K specify individual keywords to add to the preferences 46 --set-property key:value NOTE: separate key value by a colon. 47 Deprecated, use --writer-prop instead. 48 --tile-size Defines the tile size for the supported overview 49 handler. 50 --version Outputs version information. 51 --writer-prop Adds a property to send to the writer. format is 52 name=value 53 -K specify individual keywords to add to the preferences 25 54 keyword list: name=value 26 -P specify a preference file to load27 -T specify the classes to trace, ex:28 ossimInit|ossimImage.* 55 -P specify a preference file to load 56 -T specify the classes to trace, ex: 57 ossimInit|ossimImage.* 29 58 will trace ossimInit and all ossimImage classes 59 -V or --version Display version information. 30 60 -a or --include-fullres Wants to include full res dataset as well as reduced 31 61 res sets. 62 -d Write overview to directory specified. 32 63 -e or --entry Give the entry(zero based) to build an overview for. 33 64 -h or --help Shows help 65 -o Write overview to file specified. If used on a 66 multi-entry file, given "foo.ovr" you will get: 67 "foo_e0.ovr" 68 -r or --rebuild Rebuild overviews even if they are already present. 69 -s Stop dimension for overviews. This controls how 70 many layers will be built. If set to 64 then the 71 builder will stop when height and width for current 72 level are less than or equal to 64. Note a default 73 can be set in the ossim preferences file, setting the 74 keyword "overview_stop_dimension". 75 -t or --type see list at bottom for valid types. (default = 76 ossim_tiff_box) 34 77 }}} 78 79 == Overview Types == 80 Valid overview types include: 81 * ossim_tiff_box 82 * ossim_tiff_nearest 83 * ossim_kakadu_nitf_j2k 35 84 36 85 == Examples ==