Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TclDevKit 3.2 & 8.4.15

5 views
Skip to first unread message

Georgios Petasis

unread,
Aug 29, 2007, 9:51:31 AM8/29/07
to
Hi all,

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

jgodfrey

unread,
Aug 29, 2007, 10:37:41 AM8/29/07
to
Georgios Petasis wrote:

> 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

George Petasis

unread,
Aug 29, 2007, 11:31:48 AM8/29/07
to jgodfrey
I use the basekits from ActiveTcl 8.4.15. Perhaps the lack of icons is
related to the size of the base kits?

Thanks,

George

O/H jgodfrey έγραψε:

Jeff Hobbs

unread,
Aug 30, 2007, 9:06:07 PM8/30/07
to Georgios Petasis
Georgios Petasis wrote:
> 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?

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

0 new messages