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