Advertisement
Guest User

Untitled

a guest
Aug 19th, 2019
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. #' @param .x JPEG file name (or any GDAL raster source actually)
  2. read_jpeg_dim_sf <- function(.x) unlist(sf::gdal_read(.x, proxy = TRUE)[c("cols", "rows")], use.names = FALSE)[c(2, 4)]
  3. read_jpeg_dim_vp <- function(.x) vapour::vapour_raster_info(.x)$dimXY
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement