Skip to contents

It is a simple wrapper around image_align() and image_crop(). In this case, only the option viewer = "base" is used. To use viewer = "mapview", please, use such functions separately.

Usage

prepare_to_shp(img, align = "vertical")

Arguments

img

A Image object

align

The desired alignment. Either "vertical" (default) or "horizontal".

Value

An aligned and cropped Image object.

Examples

if(interactive()){
img <- image_pliman("flax_leaves.jpg")
prepare_to_shp(img)
}