cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Canon 5D IV RAW to Apple IIe image

rs-eos
Elite

I have an Apple IIe emulator for my Mac and wanted to start with an image I captured, scale it, convert to black & white and somehow end up with that image saved to a disk (emulator saves files representing 5 1/4" floppies).

 

I wasn't able to figure out how to write the data directly to a disk image, but came up with the following:

 

1. Photoshop - crop original RAW.  As the resolution of the IIe is very low, needed a portion of the image that could output a decent result:

 

parade.jpg

 

2.  Photoshop - scale down to 280 x 192, convert to indexed (B&W) using dithering.  I found a value in the 20s to be good.  Save to a PNG.

 

3. Write an iOS app to run in the simulator on the Mac that would take the PNG image, scan for runs of pixels that were "on" and spit out AppleSoft BASIC drawing commands.   I could have also created a Mac app for this.

 

ios_app.jpg

 

3. A bit over 400 lines of BASIC was generated.  Grabbed in batches of 100, pasted into the emulator and ran.  Saved the partial image.  Cleared the memory, and repeated.  I think the 100 lines of BASIC was around 24 K and didn't want to paste more as that may have hit up against graphics memory.

 

4. Saved the final image to disk:

 

applesoft.jpg

 

Here's the result:

 

apple_image.jpg

 

 

Finally, some file size comparisons for perspective:

 

  • An Apple IIe hi-res image takes up only 8,192 bytes.
  • The original RAW from the 5D IV is 35,025,671 bytes
  • The cropped PNG (before final scale and B&W conversion) is 798,192 bytes.
  • The B&W PNG that was processed is 7,667 bytes.

 

--
Ricky

Camera: EOS 5D IV, EF 50mm f/1.2L, EF 135mm f/2L
Lighting: Profoto Lights & Modifiers
0 REPLIES 0
Avatar
Announcements