read.iff | R Documentation |
Read the Interchange File Format (IFF) as an IFFChunk()
object.
read.iff(file, disk = NULL)
file |
A filename of an IFF file to be read, or a connection from which binary data can be read. |
disk |
A virtual Commodore Amiga disk from which the |
Information is stored as ‘chunks’ in IFF files (see IFFChunk()
).
Each chunk should at least contain a label of the type of chunk and the data
for that chunk. This function reads all chunks from a valid IFF file, including
all nested chunks and stores them in an IFFChunk()
object. IFF
files can hold any kind of data (e.g. images or audio), this read function
does not interpret the file. Use interpretIFFChunk()
for that
purpose.
Returns a IFFChunk()
object read from the specified file.
Pepijn de Vries
Other io.operations:
read.AmigaBasicBMAP()
,
read.AmigaBasicShape()
,
read.AmigaBasic()
,
read.AmigaBitmapFontSet()
,
read.AmigaBitmapFont()
,
read.AmigaIcon()
,
read.SysConfig()
,
write.AmigaBasicShape()
,
write.AmigaBasic()
,
write.AmigaBitmapFont()
,
write.AmigaIcon()
,
write.SysConfig()
,
write.iff()
Other iff.operations:
IFFChunk-class
,
WaveToIFF()
,
as.raster.AmigaBasicShape()
,
getIFFChunk()
,
interpretIFFChunk()
,
rasterToIFF()
,
rawToIFFChunk()
,
write.iff()
## Not run:
## let's read a bitmap image stored in IFF as provided with this package:
filename <- system.file("ilbm8lores.iff", package = "AmigaFFH")
example.iff <- read.iff(filename)
## And plot it:
plot(example.iff)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.