Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Building a BMP icon strip
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
00263879
Message ID:
00263951
Vues:
23
>I'm trying to build a strip of BMP images strung together programmatically for building an HTML Help icon strip. Basically the strip must contain x number of bitmaps all the same size one after the other.
>
>I've been doing this manually and after not getting it right I decided to try and write something for it only combining the images one after another doesn't really work either...
>
>Anybody have a good strategy for combining a bunch of images into one continuous one either with a tool or better yet with code?

Hi Rick,

Something similar to this is actually my next personal project. My intention was to create a method of easily combining bitmaps so that they can be used by the PictureClip control. My biggest problem is coming up with an interface.

I do have a suggestion which utilizes my Obj2Bmp application. Drop and arrange the bitmaps on a form, then surround them with a shape (which should be the same overall size as the combined bitmaps). The shape's borderstyle and backstyle should be set to 0 - transparent. You could then select the shape as the object to be captured by Obj2Bmp.

Another possibility would work only if the bitmaps all used the same number of colors. You could use the BITMAPINFO structure from the first bitmap, and modify the height or width members. If you laid the result bitmap out verically, you'd simply concatenate the data after the BITMAPINFO structure into the new file. Laying it out horizontally would require that the individual bitmaps be re-arranged.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform