Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Utility to convert 32 BBP PNG / TGA / BMP
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Utility to convert 32 BBP PNG / TGA / BMP

 Post Reply Post Reply
Author
Message
lorax1284 View Drop Down
Groupie
Groupie
Avatar

Joined: 10 September 2005
Location: Canada
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote lorax1284 Quote  Post ReplyReply Direct Link To This Post Topic: Utility to convert 32 BBP PNG / TGA / BMP
    Posted: 10 September 2005 at 1:58pm
Hello... after struggling for weeks to find a tool (that isn't full PhotoShop) to create 32 BPP BMP graphics for properly antialiased toolbars, I believe I have the answer!

http://www.najmanowicz.com/temp/AlphaConv.zip

Drag and drop a .PNG with alpha channel onto this window, and you'll get a like-named BMP file in the same folder.

I tested this with the "alphaclr.bmp" file that comes with the "WinZip" UI sample, and it worked perfectly!

Now, maybe I'm missing something so obvious that this post is redundant, but for the life of me I could not find any information to perform this task so I am posting this here. Other keywords of interest:

anti-alias translucent transparent 32 bit colour color alpha channel bits per pixel BPP bitmap with convert png bmp tga icon toolbar graphic editor

Now, maybe users who search this forum for the same information will find something useful immediately! :-) Seriously, I'd love to know how this information is available elsewhere, as I couldn't find it anywhere.

by the way, I'm not a programmer... I'm a designer trying to hand off icons that the developers can use.


Edited by lorax1284
Ryan Germann
Product Manager &
UI Designer
Back to Top
Ark42 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 20 October 2003
Status: Offline
Points: 291
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ark42 Quote  Post ReplyReply Direct Link To This Post Posted: 11 September 2005 at 11:06am

http://ark42.com/freeimage/alphahlp.exe

AlphaHlp v2.3 Usage:

To convert from one format to another:
        alphahlp -f(ext) -c(ext) from_filename to_filename

To split a 32bpp image into a 24bpp image and an 8bpp image:
        alphahlp -f(ext) -s 32bpp_filename 24bpp_filename 8bpp_filename
To join a 24bpp image and an 8bpp image to form a 32bpp image:
        alphahlp -f(ext) -j 24bpp_filename 8bpp_filename 32bpp_filename

To split a multipage image into one singlepage file per page:
        alphahlp -f(ext) -m multipage_filename file_prefix file_suffix
To append a singlepage image to a multipage image:
        alphahlp -f(ext) -a multipage_filename singlepage_filename

To split a tiled image into one smaller image per tile:
        alphahlp -f(ext) -t -w# -h# tiled_filename file_prefix file_suffix
To insert a single tile into a tiled image:
        alphahlp -f(ext) -i -w# -h# -c# tiled_filename singletile_filename

More details:
        alphahlp -?
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.170 seconds.