mirror of
https://github.com/markpmlim/GraphicConverterIIGS.git
synced 2024-11-29 01:49:18 +00:00
Convert an unpacked Apple IIGS graphic file
b14c2c0484
Converts a file with the Apple IIGS Graphic Format $C0/$0000 to a macOS NSImage object. |
||
---|---|---|
ConvertBitMap.playground | ||
.gitattributes | ||
Readme.md |
A simple Playground demonstration on how to
a) load an Apple IIGS graphic file with a file type and auxiliary type of $C0 and $0000,
b) extract data from the loaded file and use the information to instantiate a raw bitmap which can be used by macOS to create a CGImage object,
c) create an instance of NSImage from the CGImage object, and,
d) display the NSImage object in a Playground view.
Requirements:
Written in Swift 3.x later Xcode 8.x or later