Skip to content
/ nodata Public

Because the pixels you can't see are harder than the ones you can.

License

Notifications You must be signed in to change notification settings

mapbox/nodata

Repository files navigation

Circle CI

nodata

miles-davis7

Usage

Nodata blobbing

        UNBLOBBED         BLOBBED

ALPHA -------------    ~-----------~
      |           |    |           |
RGB   -------------  ~~-------------~~
                     ^               ^
                     |_ _ _ _ _ _ _ _|
                      Lossy Artifacts
                           Hidden
nodata blob [OPTIONS] SRC_PATH DST_PATH

Options:
-b, --bidx TEXT                   Bands to blob [default = all]
-m, --max-search-distance INTEGER Maximum blobbing radius [default = 4]
-n, --nibblemask                  Nibble blobbed nodata areas [default=False]
--co NAME=VALUE                   Driver specific creation options.See the
                                  documentation for the selected output driver
                                  for more information.
-d, --mask-threshold INTEGER      Alpha pixel threshold upon which to regard
                                  data as masked (ie, for lossy you'd want an
                                  aggressive threshold of 0) [default=None]
-a, --alphafy                     If a RGB raster is found, blob + add alpha
                                  band where nodata is
-j, --jobs                        Number of workers for multiprocessing [default=4]             
--help                            Show this message and exit.

About

Because the pixels you can't see are harder than the ones you can.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages