Third Time’s The Charm
I was able to get the Imaging.h library header file stable last night, so I decided to start porting the damaged Imaging library down to my Win32 laptop and fix the bugs there. It’s a strange feeling b/c the initial work that I’d done on the Imaging library began as a Win32 project some years ago. It’s come full circle.
As of this writing, I have errors in Palette.cpp, ErrorDiffusion.cpp, OrderedDot.cpp and Image.cpp. The latter is, of course, the meat of the Imaging library. All image files get loaded and manipulated through the Image class interface. Palette handles color palettes, of course. ErrorDiffusion and OrderedDot handle different methods of dithering. OrderedDot uses threshold matrices while ErrorDiffusion uses error propagation. If you don’t understand what dithering is, don’t worry. I’ll explain later.