$BitmapInfoHeader[$key] .= "x00x00x00x00"; // LONG biXPelsPerMeter;
$BitmapInfoHeader[$key] .= "x00x00x00x00"; // LONG biYPelsPerMeter;
$BitmapInfoHeader[$key] .= "x00x00x00x00"; // DWORD biClrUsed;
$BitmapInfoHeader[$key] .= "x00x00x00x00"; // DWORD biClrImportant;
}
$icondata = "x00x00"; // idReserved; // Reserved (must be 0)
$icondata .= "x01x00"; // idType; // Resource Type (1 for icons)
$icondata .= $this->LittleEndian2String(count($gd_image_array), 2); // idCount; // How many images?
$dwImageOffset = 6 + (count($gd_image_array) * 16);
foreach ($gd_image_array as $key => $gd_image) {
// ICONDIRENTRY idEntries[1]; // An entry for each image (idCount of 'em)
$icondata .= chr($ImageWidths[$key]); // bWidth; // Width, in pixels, of the image







