[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #37062] hi-res icon

From: Mike Miller
Subject: [Octave-bug-tracker] [bug #37062] hi-res icon
Date: Tue, 21 Jan 2014 04:02:29 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36

Follow-up Comment #28, bug #37062 (project octave):

Yes, really. We need to be able to build all files with free tools, whether or
not we check them in to the repository. And having build rules for generating
the files automatically means no one has to remember or figure out how to do
it next time.

Here's my rebuttal zip file of icons, do these look good to you (Felipe and
Ben) on Windows and MacOS? Also I don't know what the difference is between
the two kinds of ico files generated by the two icotool commands, with or
without the --raw option (man page says "raw PNG (Vista icons)"). Any ideas?
Obviously the "raw" icon is smaller, will they both work for all versions of
Windows we care about?

Here's the script I used to generate the files (also included in the zip


rsvg-convert -h 1024 -w 1024 octave-logo.svg > octave-logo-1024.png
rsvg-convert -h 512 -w 512 octave-logo.svg > octave-logo-512.png
for size in 256 128 96 64 48 32 24 22 20 16 14 10 8; do
  rsvg-convert -h $size -w $size octave-logo.svg > octave-logo-$size.png
  icons="$icons octave-logo-$size.png"
icotool -c $icons > octave-logo1.ico
icotool -c --raw $icons > octave-logo2.ico

Jwe, if you are ok with additional maintainer build-dependencies on the
rsvg-convert and icotool programs, I can work up a patch to integrate this
into the make rules and include the generated icons in the dist tarball.
Inkscape is another alternative, it can be run in batch mode without a
DISPLAY, but I figured rsvg-convert is much smaller and has fewer

(file #30327)

Additional Item Attachment:

File name: icons-scripted.zip             Size:204 KB


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]