- 博客(1)
- 资源 (1)
- 收藏
- 关注
jpeg使用说明
If native is FALSE then an array of the dimensions height x width x channels. If there is only one
channel the result is a matrix. The values are reals between 0 and 1. If native is TRUE then an
object of the class nativeRaster is returned instead. The latter cannot be easily computed on but
is the most efficient way to draw using rasterImage.
Most common files decompress into RGB (3 channels) or Grayscale (1 channel). Note that Grayscale
images cannot be directly used in rasterImage unless native is set to TRUE because rasterImage
requires RGB or RGBA format (nativeRaster is always 8-bit RGBA).
JPEG doesn’t support alpha channel, you may want to use PNG instead in such situations.
2018-10-05
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人