Reference Codebot.Graphics.Windows.ImageBitmap.pas
Part of the Codebot Controls package
The Codebot.Graphics.Windows.ImageBitmap unit gives you TImageBitmap, a 32 bit alpha blended graphic for Windows. It loads and saves BMP, GIF, JPEG, PNG, and TIFF images from files, streams, and resources, and can count the frames of an animated image. The unit also gives you routines that saturate, screen, colorize, gray, and make images transparent, and fast bitmaps for working with pixels directly.
Items 85 items
| Name | Kind | Line |
|---|---|---|
| AC_SRC_ALPHA | constant | 24 |
| AC_SRC_OVER | constant | 23 |
| AlphaBlend | function | 34 |
| AlphaDraw | procedure | 84, 85 |
| BitmapResize | function | 78 |
| BmpFormat | constant | 95 |
| ClearFastBitmap | procedure | 72 |
| CreateFastBitmap | function | 69, 70 |
| DefaultFormat | variable | 103 |
| DestroyFastBitmap | procedure | 71 |
| GifFormat | constant | 96 |
| HeightOf | function | 38 |
| ImageBitmapFromFile | function | 177 |
| ImageBitmapFromResourceId | function | 181 |
| ImageBitmapFromStream | function | 179 |
| ImageFrameCount | function | 183 |
| IsEmptyFastBitmap | function | 73 |
| IsFastBitmap | function | 74 |
| JpgFormat | constant | 97 |
| PFastBitmap | pointer | 64 |
| PngFormat | constant | 98 |
| ScanlineStride | function | 80 |
| TBlendFunction | record | 27 |
| AlphaFormat | field | 31 |
| BlendFlags | field | 29 |
| BlendOp | field | 28 |
| SourceConstantAlpha | field | 30 |
| TFastBitmap | record | 47 |
| Bits | field | 51 |
| DC | field | 48 |
| Depth | field | 54 |
| Handle | field | 49 |
| Height | field | 53 |
| OldBitmap | field | 50 |
| Width | field | 52 |
| Clear | procedure | 60 |
| ClientRect | function | 61 |
| Create | procedure | 55, 56 |
| Destroy | procedure | 57 |
| Draw | procedure | 58, 59 |
| IsEmpty | function | 62 |
| TifFormat | constant | 99 |
| TImageBitmap | class | 109 |
| Assign | procedure | 149 |
| AssignTo | procedure | 132 |
| Blit | procedure | 150, 151, 152 |
| Create | constructor | 145, 146 |
| Destroy | destructor | 147 |
| DestroyHandle | procedure | 134 |
| Draw | procedure | 135 |
| GetCanvas | function | 136 |
| GetEmpty | function | 137 |
| GetHeight | function | 140 |
| GetTransparent | function | 138 |
| GetWidth | function | 141 |
| HandleNeeded | procedure | 133 |
| Load | procedure | 155 |
| LoadFromFile | procedure | 159 |
| LoadFromStream | procedure | 157 |
| RequestBitmap | procedure | 148 |
| Resize | procedure | 153, 154 |
| Save | procedure | 156 |
| SaveToFile | procedure | 160 |
| SaveToStream | procedure | 158 |
| SetHeight | procedure | 142 |
| SetTransparent | procedure | 139 |
| SetWidth | procedure | 143 |
| Bitmap | property | 162 |
| Bits | property | 163 |
| Bounds | property | 165 |
| Canvas | property | 164 |
| Format | property | 161 |
| Handle | property | 167 |
| Opacity | property | 166 |
| PixelDepth | property | 168 |
| ScaleX | property | 169 |
| ScaleY | property | 170 |
| Scanline | property | 171 |
| Size | property | 173 |
| Stride | property | 172 |
| TImageBitmapFormat | alias | 90 |
| TPixelDepth | enum | 45 |
| pd24 | enum value | 45 |
| pd32 | enum value | 45 |
| WidthOf | function | 39 |