X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=utils%2Finstall4j%2FREADME_convert_PNG_to_ICNS_and_ICO;fp=utils%2Finstall4j%2FREADME_convert_PNG_to_ICNS_and_ICO;h=0000000000000000000000000000000000000000;hb=69344c80b438aa373e041540d368da1d7f74d2cb;hp=393754ea4109296a4741fff840327ff05272c18e;hpb=cfd4c0c37a35bfe20c2ce592d7648c40a6abb028;p=jalview.git diff --git a/utils/install4j/README_convert_PNG_to_ICNS_and_ICO b/utils/install4j/README_convert_PNG_to_ICNS_and_ICO deleted file mode 100644 index 393754e..0000000 --- a/utils/install4j/README_convert_PNG_to_ICNS_and_ICO +++ /dev/null @@ -1,31 +0,0 @@ -## Creating the .ico (Windows) and .icns (macOS) files from PNG images in linux - -Create multiple square versions of your icon at the following resolutions: -16x16, 32x32, 48x48, 64x64, 128x128, 256x256, 512x512 - -> A quick way to do this with ImageMagick is create the 512x512 logo first, saved as logo-512.png, and run -> `for n in 16 32 48 64 128 256; do convert -geometry ${n}x${n} logo-512.png logo-${n}.png; done` -> but note that anitaliasing can make a logo look quite blurry, especially for small resolutions. These should -> then be hand edited (with e.g. gimp) to neaten the edges. A nice trick in gimp is to use the Colours->Curves->Alpha -> and create a curve that makes mostly transparent pixels completely transparent, and slightly transparent pixels -> completely opaque. - -Then use the script `jalview/utils/create_iconfiles.sh` like this: -``` -create_iconfiles.sh logo-*.png -``` -and it will create both `logo.ico` and `logo.icns` containing the appropriate different resolution logos. -It is then up to the OS to display the correct one in different circumstances. - -This script uses the utilities convert (ImageMagick) and png2icns (icnsutils) which should be installed and in the path. -Note that for some reason ICNS files should not contain a 64x64 pixel version of a logo, so the script removes this -as png2icns complains if it finds one! - -### Rotatable icon with white background - -This icon is used by the web services progress window, with the rotating Jalview logo. -It requires some small margin of white pixels around the logo to enable antialiasing around the edge of the logo. -You can make one form a 38x38 transparent logo with -``` -convert jalview_logo-38.png -gravity center -background white -extent 60x60 rotatable_jalview_logo-38.png -```