Wireshark-dev: Re: [Wireshark-dev] GTK_STOCK_FILE -> wireshark documents icon
From: Anders Broman <anders.broman@xxxxxxxxxxxx>
Date: Wed, 13 Oct 2010 13:18:24 +0200
 

-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Chris Maynard
Sent: den 13 oktober 2010 03:56
To: wireshark-dev@xxxxxxxxxxxxx
Subject: Re: [Wireshark-dev] GTK_STOCK_FILE -&gt; wireshark documents icon

Anders Broman <a.broman@...> writes:

> Does any one know how to convert the current .png file to a xpm
>
>I don't know how this tool compares to others, but here's one free tool to do it:
>http://www.imagemagick.org/script/index.php
>
>As a quick test, I downloaded it, and tested it out on my Windows XP PC.  It seems to do the job well enough.
>
>In my test, I just ran "convert hi48-app-wireshark.png hi48-app-wireshark.xpm"
>with no other options at the command-line, and it successfully converted the .png image to .xpm.  With a cygwin >X11 server running, I used their "display"
>GUI (which seems a bit hokey, esp. w/dual monitors) to view the resulting .xpm.
>
>In addition to Windows, they have support for Unix and Mac OS X as well.

Thanks that worked nicly, I had to change the generated file:
From: static char *WiresharkDoc___[] = {
To: static const char * WiresharkDoc_24_xpm[] = {

Checked in, in revision 34496.
Regards
Anders

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe