APINFOHEADER - 40 bytes
$BitmapInfoHeader[$key] = '';
$BitmapInfoHeader[$key] .= "\x28\x00\x00\x00"; // DWORD biSize;
$BitmapInfoHeader[$key] .= phpthumb_functions::LittleEndian2String($ImageWidths[$key], 4); // LONG biWidth;
// The biHeight member specifies the combined
// height of the XOR and AND masks.
$BitmapInfoHeader[$key] .= phpthumb_functions::LittleEndian2String($ImageHeights[$key] * 2, 4); // LONG biHeight;
$BitmapInfoHeader[$key] .= "\x01\x00"; // WORD biPlanes;
$BitmapInfoHeader[$key] .= chr($bpp[$key])."\x00"; // wBitCount;
$BitmapInfoHeader[$key] .= "\x00\x00\x00\x00"; // DWORD biCompression;
$BitmapInfoHeader[$key] .= phpthumb_functions::LittleEndian2String($biSizeImage, 4); // DWORD biSizeImage;
$BitmapInfoHeader[$key] .= "\x00\x00\x00\x00"; // LONG biXPelsPerMeter;
$BitmapInfoHeader[$key] .= "\x00\x00\x00\x00"; // LONG biYPelsPerMeter;
$BitmapInfoHeader[$key] .= "\x00\x00\x00\x00"; // DWORD biClrUsed;
$BitmapInfoHeader[$key] .= "\x00\x00\x00\x00"; // DWORD biClrImportant;
}
$icondata = "\x00\x00"; // idReserved; // Reserved (must be 0)
$icondata .= "\x01\x00"; // idType; // Resource Type (1 for icons)
$icondata .= phpthumb_functions::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
$icondata .= chr($ImageHeights[$key]); // bHeight; // Height, in pixels, of the image
$icondata .= chr($totalcolors[$key]); // bColorCount; // Number of colors in image (0 if >=8bpp)
$icondata .= "\x00"; // bReserved; // Reserved ( must be 0)
$icondata .= "\x01\x00"; // wPlanes; // Color Planes
$icondata .= chr($bpp[$key])."\x00"; // wBitCount; // Bits per pixel
$dwBytesInRes = 40 + strlen($icXOR[$key]) + strlen($icAND[$key]);
$icondata .= phpthumb_functions::LittleEndian2String($dwBytesInRes, 4); // dwBytesInRes; // How many bytes in this resource?
$icondata .= phpthumb_functions::LittleEndian2String($dwImageOffset, 4); // dwImageOffset; // Where in the file is this image?
$dwImageOffset += strlen($BitmapInfoHeader[$key]);
$dwImageOffset += strlen($icXOR[$key]);
$dwImageOffset += strlen($icAND[$key]);
}
foreach ($gd_image_array as $key => $gd_image) {
$icondata .= $BitmapInfoHeader[$key];
$icondata .= $icXOR[$key];
$icondata .= $icAND[$key];
}
return $icondata;
}
}
?>
Trouvez votre bien dans nos vitrines d'annonces
Voir la suite :
|
554200 €
|
savigny sur orge Vente: Surface hab: 160 m² |
| Maison 160m² comprenant salle à manger, salon avec cheminée, cuisine équipée, (...) |
|
|
304600 €
|
viry-châtillon Vente: Surface hab: 80 m² |
| Maison F5 comprenantsalon/salle à manger, cuisine équipée, 4 chambres, sdb, (...) |
|
|
367000 €
|
corbeil Vente: Surface hab: 120 m² |
| Ancien pressoir 18 ème siècle. Maison F5 comprenant cuisine équipée, salle à (...) |
|
|
184750 €
|
chilly mazarin Vente: Surface hab: 62 m² |
| Apt F3 comprenant entrée, placards, cuisine équipée, dressing, cellier, sdb, (...) |
|
|
167950 € + 1220 € c.
|
ris orangis Vente: Surface hab: 60 m² |
| apt F 3 60 m² comprenant cuisine, salon, 2 chambres, sdb, wc séparé, (...) |
|
|
257800 €
|
bondoufle Vente: Surface hab: 110 m² |
| Maison F5 comprenant cuisine, cuisine d'été, garage, salon, salle à manger, 3 (...) |
|
|
471000 €
|
chilly-mazarin Vente: Surface hab: 124 m² |
| Maison F8 comprenant salon, salle à manger, cuisine américaine équipée, 5 (...) |
|
|
221400 € + 646 € c.
|
evry Vente: Surface hab: 76 m² |
| Maison F4 comprenant cuisine équipée, salon 22 m²+ cheminée, débarras, 3 (...) |
|
|
314000 € + 1800 € c.
|
bretigny Vente: Surface hab: 105 m² |
| Duplex 4 pièces : entrée, placards, cuisine équipée siemens neuve, 3 chambres, (...) |
|
|
429400 €
|
viry châtillon Vente: Surface hab: 180 m² |
| Maison 8 pièces dont 5 chambres, sde, sdb(baignoire d'angle)salle à manger et (...) |
|
Voir la suite :
Pages n° 1
|
|
Tout-immobilier.com est un site Internet d’annonces payantes pour les professionnels et particuliers
qui propose des annonces en ligne pour acheter ou vendre une maison, louer un appartement ou louer un garage, Tout-Immobilier regroupe, les agences immobilieres, les programmes de promoteurs,
les fiscalistes de l’immobilier, les offices notariales, les bien immobiliers des particuliers.