Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Answer: How to change the windows icon of a script compiled with PP ?

by jellisii2 (Hermit)
on Mar 10, 2011 at 22:12 UTC ( #892548=categorized answer: print w/replies, xml ) Need Help??

Q&A > programs and processes > How to change the windows icon of a script compiled with PP ? - Answer contributed by jellisii2

Using GIMP 2.6.11 on windows, I was able to get pp to recognize and use an icon using the following settings:

48x48 canvas size image. I just saved a single image instead of the multilayer image for all the different sizes.

Save as .ico

8 bpp, 1-bit alpha, 256-slot Palette, no PNG compression.

Doesn't quite blend in on windows 7, but at least it's not the camel. PP needs an update to take advantage of the current .ico format, but I'm 99% certain I don't have the chops to do it.

  • Comment on Answer: How to change the windows icon of a script compiled with PP ?
Replies are listed 'Best First'.
Re: Answer: How to change the windows icon of a script compiled with PP ?
by jellisii2 (Hermit) on Mar 22, 2011 at 13:40 UTC
    As an ALTERNATIVE to the above, you CAN use a multilayer icon with the following layer geometery:

    32x32

    24x24

    16x16

    You still have to use 8 bpp, 1-bit alpha, 256-slot Palette, no PNG compression, and it has to be set on all layers.

    I have since started to go this route, as Windows 2008 server doesn't respect the single 48x48 icon. I can't speak as to why you can't use a 48x48 in the stack, but a multilayer icon with a 48x48 layer doesn't display on Win7 if you do so. This appears to work as expected on both Win7 and 2008 server.

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2019-12-07 01:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (160 votes). Check out past polls.

    Notices?