Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert PNG to BMP and MSK files
Message
De
05/07/2005 11:33:54
 
 
À
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:
01029016
Vues:
12
Hi Malcolm,

>
>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.
>

Usually I only use MS Paints. Try to do this step:
- Open the BMP file
- On "Image" menu, select "Attributes"
- On "Attributes" dialog, select "Black and white" colors, OK.
- Select "Yes" on the warning dialog
- Press Ctrl-Z
- Save As to "whatever" with monochrome bitmap
- Rename the saved file to "YourBMP.MSK"

Hope it works for you
Regards
Herman
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform