Ramzes писал(а):Люди обьяснит мне кто наконец что такое GDI+ я уже целую неделю пробую что-то узнать. Может я отстал от жизни?![]()
ПОМОГИТЕ...РАСКАЖИТЕ...ПЛИЗ...
alibek писал(а):Никак. Единственная "официальная" компрессия в BMP - RLE. А он дает среднестатистические 10% сжатия.
biCompression
Specifies the type of compression for a compressed bottom-up bitmap (top-down DIBs cannot be compressed). This member can be one of the following values.
BI_RGB - An uncompressed format.
BI_RLE8 - A run-length encoded (RLE) format for bitmaps with 8 bpp. The compression format is a 2-byte format consisting of a count byte followed by a byte containing a color index. For more information, see Bitmap Compression.
BI_RLE4 - An RLE format for bitmaps with 4 bpp. The compression format is a 2-byte format consisting of a count byte followed by two word-length color indexes. For more information, see Bitmap Compression.
BI_BITFIELDS - Specifies that the bitmap is not compressed and that the color table consists of three DWORD color masks that specify the red, green, and blue components, respectively, of each pixel. This is valid when used with 16- and 32-bpp bitmaps.
BI_JPEG - Windows 98, Windows 2000: Indicates that the image is a JPEG image.
BI_PNG - Windows 98, Windows 2000: Indicates that the image is a PNG image.
biSizeImage
Specifies the size, in bytes, of the image. This may be set to zero for BI_RGB bitmaps.
Windows 98, Windows 2000: If biCompression is BI_JPEG or BI_PNG, biSizeImage indicates the size of the JPEG or PNG image buffer, respectively.
Ramzes писал(а):Давал, но я с того что ты мне давал так ничего и не понял
В файле, лежащем по указанной ссылке, я писал(а):1. Что такое GDI+?
- библиотека gdiplus.dll, позволяющая работать с графикой на самом современном уровне. Поддерживаются все распространённые графические форматы, альфа-прозрачность, градиентная заливка и многое другое.
Эта библиотека включена в WinXP+, Office2003 и многие другие продукты Microsoft. Она доступна для свободного скачивания на http://www.microsoft.com/downloads/deta ... layLang=en и может работать в Win98+/WinNT4+
Библиотека включает т.н. Flat API – набор функций для управления объектами GDI+, и набор С++-классов, инкапсулирующих эти функции. Классы GDI+ поставляются вместе с исходниками как часть VS.NET и, в кроме того, доступны для свободного скачивания вместе с Platform SDK.
Сейчас этот форум просматривают: Google-бот, Yandex-бот и гости: 18