I tried to wrap an application of mine, and I have problems in putting
my custom ico into the produced executable. TclDevKit wrapper shows:
[__] 16x16/4bpp: ignored, missing in prefix
[__] 16x16/8bpp: ignored, missing in prefix
[__] 32x32/4bpp: ignored, missing in prefix
[__] 32x32/8bpp: ignored, missing in prefix
[__] 48x48/4bpp: ignored, missing in prefix
[__] 48x48/8bpp: ignored, missing in prefix
[__] 16x16/32bpp: not replaced, missing in custom icon
[__] 32x32/32bpp: not replaced, missing in custom icon
[__] 48x48/32bpp: not replaced, missing in custom icon
a) It seems that the 8.4.15 executable is using icons in 32bpp, but no
icons in 8bpp (256 colours). Is this permanent?
b) How can I create an icon in 32bpp? My VC++ 2005 does not allow me to
go above 256 colours :-(
George
> a) It seems that the 8.4.15 executable is using icons in 32bpp, but no
> icons in 8bpp (256 colours). Is this permanent?
Hi George,
Where did you get the basekit that you're trying to wrap with your
application? I've noticed similar icon replacement issues when trying
to use the basekits provided by ActiveState. That is, they don't
contain many icon resources, which means that your application can't
contain many either.
I've had much better luck grabbing a base tclkit file from the equi4
website. The icon support in those kit seems to be much better than
the ActiveState provided kits. I've traded a few emails with
ActiveState support in an effort to get better icon support in their
basekit files.
> b) How can I create an icon in 32bpp? My VC++ 2005 does not allow me to
> go above 256 colours :-(
There are a number of good Freeware icon editors available. Here's a
few to look for:
AWicons Lite
icoFX
Jeff
Thanks,
George
O/H jgodfrey έγραψε:
This is all based on the basekit being used, which is what embeds the
.ico. In order to maintain the integrity of the executable, we can only
replace the .ico constituent icos. This is particularly tricky because
of the attached metakit db for basekits.
In 8.4.15 the ActiveTcl basekit did update the core .ico with the above
variants (in essence, modernized the icon set).
> b) How can I create an icon in 32bpp? My VC++ 2005 does not allow me to
> go above 256 colours :-(
This was created by our graphics guy, who uses a professional tool. It
would be possible to actually create a .ico in Tk with the available
tools in tcllib from images. Perhaps this would be a good accessory tool.
Jeff