Skip to contents

rasterpic 0.2.4

CRAN release: 2024-01-18

  • Ensure SpatVectors always have crs.
  • If the image has less than 3 channels the raster output does not have the property RGB (terra::has.RGB() is FALSE). This is expected to be a corner case.
  • If the image file (i.e. tiff) already has a RGB definition, keep that in the output.
  • Update docs and tests.

rasterpic 0.2.3

CRAN release: 2023-09-08

  • Now asp_ratio is an internal function.
  • Improve docs and tests.

rasterpic 0.2.2

CRAN release: 2023-04-18

  • Remove unused dependencies
  • Improve docs.
  • Fix typos on messages.
  • Declares output as RGB raster with terra::RGB().
  • Add ggplot2 to “Suggests”.

rasterpic 0.2.1

CRAN release: 2022-06-10

  • Add tidyterra to ‘Suggests’

rasterpic 0.2.0

CRAN release: 2022-02-18

  • Add support for:
    • terra: SpatVector, SpatExtent.
    • sf: sfg, sf::st_bbox().
    • Numeric vectors c(xmin, ymin, xmax, ymax).
  • Now img parameter on rasterpic_img() accepts online images.
  • Add an article to the pkgdown site.
  • Fix CRAN errors.

rasterpic 0.1.0

CRAN release: 2022-01-27

  • Initial release