Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by jellisii2 (Hermit)
on Mar 10, 2011 at 22:12 UTC ( [id://892548]=note: print w/replies, xml ) Need Help??


in reply to How to change the windows icon of a script compiled with PP ?

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 Re: 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://892548]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (2)
As of 2025-03-15 20:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When you first encountered Perl, which feature amazed you the most?










    Results (53 votes). Check out past polls.