Сравнивайте с английским: нажмите на абзац — оригинал откроется в окне. Кнопка EN под абзацем показывает его прямо в тексте.
Содержание
Введение
Формат файла иконки Windows
Windows icon file format
Формат файла ICO — это формат файла изображения для компьютерных иконок в Microsoft Windows. Файлы ICO содержат одно или несколько небольших изображений разных размеров и глубины цвета, чтобы их можно было соответствующим образом масштабировать. В Windows все исполняемые файлы, отображающие иконку пользователю на рабочем столе, в меню «Пуск» или в проводнике, должны содержать иконку в формате ICO. Формат файла CUR — это практически идентичный формат файла изображения для неанимированных курсоров в Microsoft Windows. Единственные различия между этими двумя форматами файлов — это байты, используемые для их идентификации, и добавление точки привязки в заголовок формата CUR; точка привязки определяется как смещение пикселей (в координатах x, y) от верхнего левого угла изображения курсора, указывающее на фактическое положение курсора под мышью. Формат файла ANI используется для анимированных курсоров Windows.
The ICO file format is an image file format for computer icons in Microsoft Windows. ICO files contain one or more small images at multiple sizes and color depths, such that they may be scaled appropriately. In Windows, all executables that display an icon to the user, on the desktop, in the Start Menu, or in file Explorer, must carry the icon in ICO format. The CUR file format is an almost identical image file format for non animated cursors in Microsoft Windows. The only differences between these two file formats are the bytes used to identify them and the addition of a hotspot in the CUR format header; the hotspot is defined as the pixel offset (in x,y coordinates) from the top left corner of the cursor image where the user is actually pointing the mouse. The ANI file format is used for animated Windows cursors.
История
Иконки, представленные в Windows 1.0, имели размер 32×32 пикселя и были монохромными. Поддержка 16 цветов была добавлена в Windows 3.0. Win32 обеспечила поддержку хранения изображений иконок до 16,7 миллионов цветов (TrueColor) и размером до 256×256 пикселей. Windows 95 также представила новый механизм Device Independent Bitmap (DIB). Однако, в Windows 95 по умолчанию использовалась глубина цвета иконок 256 цветов. Можно было включить иконки с 65535 цветами (Highcolor), изменив значение Shell Icon BPP в реестре или приобретя Microsoft Plus! для Windows 95. Значение Shell Icon Size позволяет использовать иконки большего размера вместо иконок 32×32, а значение Shell Small Icon Size – использовать пользовательские размеры вместо иконок 16×16. Windows XP может уменьшать масштаб больших иконок, если нет изображения более подходящего размера.
Icons introduced in Windows 1.0 were 32×32 pixels in size and were monochrome. Support for 16 colors was introduced in Windows 3.0. Win32 introduced support for storing icon images of up to 16.7 million colors (TrueColor) and up to 256×256 pixels in dimensions. Windows 95 also introduced a new Device Independent Bitmap (DIB) engine. However, 256 color was the default icon color depth in Windows 95. It was possible to enable 65535 color (Highcolor) icons by either modifying the Shell Icon BPP value in the registry or by purchasing Microsoft Plus! for Windows 95. The Shell Icon Size value allows using larger icons in place of 32×32 icons and the Shell Small Icon Size value allows using custom sizes in place of 16×16 icons. Windows XP can downscale larger icons if no closer image size is available.
Библиотека икон
Библиотека значков – это способ упаковки значков Windows. Как правило, это 16-битный исполняемый файл нового типа или 32-битный переносимый исполняемый двоичный файл с расширением ICL, содержащий упакованные значки в качестве ресурсов. Windows Vista и более поздние версии не поддерживают просмотр значков из 16-битных файлов (исполняемых файлов нового типа).
An icon library is a way to package Windows icons. It is typically a 16 bit New Executable or a 32 bit Portable Executable binary file having an ICL extension with icon resources being the packaged icons. Windows Vista and later versions do not support viewing icons from 16 bit (New Executable) files.