Convert an unpacked Apple IIGS graphic file
Go to file
markpmlim c194d00913 Corrected file type 2018-09-18 15:02:46 +08:00
ConvertBitMap.playground Corrected file type 2018-09-18 15:02:46 +08:00
.gitattributes Initial commit 2018-09-17 08:47:15 +08:00 Specify graphic format more precisely 2018-09-17 14:49:29 +08:00

A simple Playground demonstration on how to

a) load an Apple IIGS 320x200 graphic file with a file type and auxiliary type of $C1 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.


Written in Swift 3.x later Xcode 8.x or later