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

Canon 5D IV RAW to Apple IIe image

rs-eos
Authority

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

EOS 5D IV, EF 50mm f/1.2L, EF 135mm f/2L, 600EX-RT (x6), ST-E3-RT
EOS C70, RF 24-70 f/2.8L IS, EF-EOS R 0.71x
0 REPLIES 0
Announcements
01/18/2023: New firmware version 1.1.1 is available for EOS R6 Mark II
01/09/2023: Help ensure your autofocus is properly aligned with a Canon Precision Alignment
01/03/2023: Welcome to CES 2023!
12/08/2022: New firmware version 1.0.5.1 is available for EOS C70
12/07/2022: New firmware version 1.7.0 is available for EOS R5
12/07/2022: New firmware version 1.7.0 is available for EOS R6
11/22/2022: New firmware available for EOS R3, EOS R7 and EOS R10
11/16/2022: We're thrilled to be ranked among the Best Employers for Veterans in 2022 by Forbes.
08/31/2022: New firmware version 1.1.1 is available for RF 70-200mm L IS USM
08/09/2022: New firmware version 1.2.0 is available for CR-N 300
08/09/2022: New firmware version 1.2.0 is available for CR-N 500
07/14/2022: New firmware version 1.0.1 is available for CR-X300
06/10/2022: Service Notice:UPDATE: Canon Inkjet Printer continuous reboot loop or powering down
06/07/2022: New firmware version 1.3.2 is available for PowerShot G7 X Mark III
05/31/2022: Did someone SAY Badges?
05/26/2022: New firmware version 1.0.5.1 is available for EOS-C500 Mark II
05/26/2022: New firmware version 1.0.3.1 is available for EOS-C300 Mark III
05/10/2022: Keep your Canon gear in optimal condition with a Canon Maintenance Service
05/05/2022: We are excited to announce that we have refreshed the ranking scale within the community!
04/26/2022: New firmware version 1.0.1.1 is available for EOS R5 C
03/23/2022: New firmware version 1.0.3.1 is available for EOS-C70
02/09/2022: Share Your Photos is back!
02/07/2022: New firmware version 1.6.1 is available for EOS-1DX Mark III
01/19/2022: READY FOR ANYTHING EOS-R5 C
01/13/2022: Community Update. We will be retiring the legacy profile avatars on 01/20/2022. Click this link to read more.