Force deferred/lazy operations.
Arguments
- x
object to force deferred operations in
- size
numeric. Minimum number of image pixels to render when evaluating
- filename
character. Full filepath to write the rendered image to. If
NULL
, a file intempdir()
will be generated.- ...
additional args to pass
Examples
gimg <- GiottoData::loadSubObjectMini("giottoLargeImage")
affimg <- spin(gimg, 45) # lazily performs affine
# force the affine operation and render the output with at least 5e5 px
gimg2 <- doDeferred(affimg, size = 5e5)
# **This is mainly intended for visualization.**
# This process saves with image depth of 8.
# Spatially transformed raster values are not preferred for analysis