Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert PNG to BMP and MSK files
Message
De
05/07/2005 10:55:27
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
01028982
Message ID:
01029004
Vues:
17
Hi David,

> I'm pretty sure GDI+ will convert PNG to BMP and therefore to MSK since it's the same file format.

The complication is that (as I understand things) the BMP contains the image and transparency (white) data and the MSK file contains the data that overrides the white=transparency data with white=white data.

So its really a two part conversion, first convert the PNG to BMP, then update the BMP converting PNG transparency to white, followed by creating a MSK file containing data for the pixels that need to remain white vs transparent.

I've found plenty of PNG to BMP conversion utilities - but none with any support for the MSK file format that VFP uses.

Malcolm
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform