Description: A bitmap is basically a one-dimensional array that uses some calculation to be seen as a two-dimensional array. The values in such array could be color indexes (when using color palettes) or the RGB values directly, using some type of encoding. The managed bitmaps are simple classes that have a PixelArray, which is an array of bytes, for GrayscaleBitmap, of int (System.Int32) for ArgbBitmap and of Color for ColorBitmap. They also have a Width to know to calculate a X/Y coordinate. The height value is then calculated as a division of the PixelArray length by its Width. They, of course, have some additional methods. They can be converted to and from each other and System.Drawing.Bitmaps, and also can copy only "blocks" from one to another
To Search:
File list (Check if you may need any files):
PfzDrawingSample
................\Pfz
................\...\Box.cs
................\...\Caching
................\...\.......\GCUtils.cs
................\...\.......\KeepAliveGCHandle.cs
................\...\.......\KeepAliveWeakReference.cs
................\...\.......\ResultCache.cs
................\...\.......\UnsafeWeakArray.cs
................\...\.......\WeakArray.cs
................\...\.......\WeakDelegate.cs
................\...\.......\WeakDelegateBase.cs
................\...\.......\WeakDelegateSet.cs
................\...\.......\WeakDictionary.cs
................\...\.......\WeakHashSet.cs
................\...\.......\WeakKeyDictionary.cs
................\...\.......\WeakList.cs
................\...\Cloneable.cs
................\...\Collections
................\...\...........\EnumeratorDistributor.cs
................\...\...........\EnumeratorDistributorClient.cs
................\...\...........\IFastEnumerator.cs
................\...\...........\ReadOnlyDictionary.cs
................\...\...........\ReadOnlyHashSet.cs
................\...\Date.cs
................\...\DisplayNameAttribute.cs
................\...\ExceptionAwareStream.cs
................\...\Extensions
................\...\..........\PfzAsyncForEachExtensions.cs
................\...\..........\PfzAttributeExtensions.cs
................\...\..........\PfzClonningExtensions.cs
................\...\..........\PfzDictionaryExtensions.cs
................\...\..........\PfzDisplayNameExtensions.cs
................\...\..........\PfzDisposeExtensions.cs
................\...\..........\PfzMonitorLockExtensions.cs
................\...\..........\PfzNumericConversionsExtensions.cs
................\...\..........\PfzReaderWriterLockExtensions.cs
................\...\..........\PfzStreamExtensions.cs
................\...\..........\PfzTypeExtensions.cs
................\...\IAdvancedDisposable.cs
................\...\IExceptionAwareDisposable.cs
................\...\Pfz.csproj
................\...\Pfz.snk
................\...\Properties
................\...\..........\AssemblyInfo.cs
................\...\Threading
................\...\.........\AbortSafe.cs
................\...\.........\ActionRunner.cs
................\...\.........\LockConfiguration.cs
................\...\.........\ThreadSafeDisposable.cs
................\...\.........\ThreadSafeExceptionAwareDisposable.cs
................\...\.........\TicksOrIncrement.cs
................\...\.........\UnlimitedThreadPool.cs
................\...\Time.cs
................\Pfz.Drawing
................\...........\ArgbBitmap.cs
................\...........\ColorBitmap.cs
................\...........\Extensions
................\...........\..........\PfzBitmapExtensions.cs
................\...........\..........\PfzColorExtensions.cs
................\...........\GrayscaleBitmap.cs
................\...........\IBitmap.cs
................\...........\ManagedBitmap.cs
................\...........\Pfz.Drawing.csproj
................\...........\Pfz.Drawing.csproj.user
................\...........\Pfz.Drawing.snk
................\...........\Properties
................\...........\..........\AssemblyInfo.cs
................\PfzDrawingSample
................\................\Form1.cs
................\................\Form1.Designer.cs
................\................\Form1.resx
................\................\PfzDrawingSample.csproj
................\................\Program.cs
................\................\Properties
................\................\..........\AssemblyInfo.cs
................\................\..........\Resources.Designer.cs
................\................\..........\Resources.resx
................\................\..........\Settings.Designer.cs
................\................\..........\Settings.settings
................\PfzDrawingSample.sln