View source: R/workbench_icon.r
rawToAmigaIcon | R Documentation |
AmigaIcon()
objects are comprehensive representations of binary Amiga
Workbench icon files (*.info). Use this function to convert raw
data from
such a file to an AmigaIcon()
object.
rawToAmigaIcon(x, palette = NULL)
x |
A vector of |
palette |
Provide a palette ( |
Icons files (*.info) were used as a graphical representations of files and
directories on the Commodore Amiga. This function will convert the raw data from such files
into a more comprehensive names list (see AmigaIcon()
). Use
as.raw()
to achieve the inverse.
Returns an AmigaIcon()
class object based on x
.
Pepijn de Vries
Other AmigaIcon.operations:
AmigaIcon
,
read.AmigaIcon()
,
simpleAmigaIcon()
,
write.AmigaIcon()
Other raw.operations:
as.AmigaBasic()
,
as.raw.AmigaBasic()
,
colourToAmigaRaw()
,
packBitmap()
,
rawToAmigaBasicBMAP()
,
rawToAmigaBasicShape()
,
rawToAmigaBasic()
,
rawToAmigaBitmapFontSet()
,
rawToAmigaBitmapFont()
,
rawToHWSprite()
,
rawToIFFChunk()
,
rawToSysConfig()
,
simpleAmigaIcon()
## Not run:
## generate a simple AmigaIcon object:
icon <- simpleAmigaIcon()
## convert it into raw data:
icon.raw <- as.raw(icon)
## convert the raw data back into an icon:
icon.restored <- rawToAmigaIcon(icon.raw)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.