|
![](/i/fill.gif) |
"Jeremy Wilson" <jwi### [at] batchcomputer com> wrote in
news:3d8a2629$1@news.povray.org:
> Hi,
> I currently have a program that ouputs mesh2 objects and adds texture
> info to them. Unfortunately, my textures are standard Windows BMP
> files. Since BMP files don't support an alha channel, so parts of the
> bitmap that are supposed to be transparent are not. If I could tell my
> program to output PNG files I would but I can't at this time.
You can use ImageMagick (available for Windows, among other systems) to
transform your BMP images into PNG (for example), adding transparency to the
given color (option: -transparent <color>).
I just tried:
convert -transparent #FFFFFF FairyCastle.bmp FC.png
checked transparency with an HTML page, looks OK.
HTH.
--
--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--=#=--
Philippe Lhoste (Paris -- France)
Professional programmer and amateur artist
http://jove.prohosting.com/~philho/
Post a reply to this message
|
![](/i/fill.gif) |