Delphi 3/4/5 Source and EXE (196 KB): RotateScanline.ZIP
RotateBitmap Procedure Highly Optimized -- Now 400% Faster -- by John O’Harrow
1. Local variables used to reduce calculation time within loops
2. All references to Scanline property within loops removed
Version of program for use with pf8bit BMP files including palettes: RotateScanlinePf8bit.ZIP
Darren Gallagher’s Borland C++ Builder Source Code (7 KB):
DarrenGallagher_Builder_RotateScanline.ZIP
24-bit color BMP test image:
Parrots.ZIP (200 KB)
8-bit color BMP test image:
Deer.ZIP (28 KB)
Noteworthy
In a February 1998 E-mail to Stefan Akerwall in Sweden, I told him that I had to E-mail him a solution of how to rotate a bitmap since I didn’t have a web site. Stefan gave me web space at www.infomaster.net/external/efg for telling him how to rotate a bitmap and that was the beginning of efg’s Computer Lab. In November 1998, the Computer Lab moved from Stockholm, Sweden to the USA. An early version of this project was the beginning of the Computer Lab on the Web.
文章来源于领测软件测试网 https://www.ltesting.net/