For Programmers: Free Programming Magazines  


Home > Archive > Tcl > August 2007 > TclDevKit 3.2 & 8.4.15









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author TclDevKit 3.2 & 8.4.15
Georgios Petasis

2007-08-29, 7:11 pm

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

2007-08-29, 7:11 pm

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

2007-08-29, 7:11 pm

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 _γραψε:
> Georgios Petasis wrote:
>
>
> 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.
>
>
> There are a number of good Freeware icon editors available. Here's a
> few to look for:
>
> AWicons Lite
> icoFX
>
> Jeff
>

Jeff Hobbs

2007-08-30, 11:24 pm

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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com