From: Ben Soares Date: Tue, 7 Jan 2020 23:15:42 +0000 (+0000) Subject: JAL-3393 Improved background image, SVG file, and added instructions on how the image... X-Git-Tag: Develop-2_11_2_0-d20201215~80^2~28^2~1 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=87bc89d0cc3213becc06a3c6b8389bf88635bec7;p=jalview.git JAL-3393 Improved background image, SVG file, and added instructions on how the image is made --- diff --git a/utils/install4j/DMG_background_image_creation_README.md b/utils/install4j/DMG_background_image_creation_README.md new file mode 100644 index 0000000..c37b35e --- /dev/null +++ b/utils/install4j/DMG_background_image_creation_README.md @@ -0,0 +1,11 @@ +# Links with `DS_Store` +The DMG background image should be 500x461 pixels with DPI set at 72. The spacing for the Jalview application icon and the symbolic link to the Applications folder tie in with the information in the `DS_Store` file, so both files should be changed if you want to move the icons. Instructions on how to create/adapt the `DS_Store` file can be found in file `DMG_creation_README.md`. + +# Creation of `jalview_dmg_background.png` +The most recent `jalview_dmg_background.png` (with blurry faded tiled Jalview logos, should be released with Jalview 2.11.1) is created from the `jalview_dmg_background_blur_layers.svg` file which can be edited in Inkscape. It is exported as `jalview_dmg_background_blur.png` at 500x461 pixels but Inkscape currently makes it difficult to choose an arbitrary dpi in the PNG metadata, with 96 DPI the default. + +The exported PNG can have the 96 DPI metadata changed using GIMP or ImageMagick. Here is how to do it on the command line with ImageMagick: +``` +convert -units PixelsPerInch jalview_dmg_background_blur.png -density 72 jalview_dmg_background.png +``` +The final image should be saved as `jalview_dmg_background.png` (which the above `convert` command will do) as this is the filename set in the `install4j8_template.install4j` file to include in the final DMG. diff --git a/utils/install4j/jalview_dmg_background.png b/utils/install4j/jalview_dmg_background.png index 3b64133..b7c34c1 100644 Binary files a/utils/install4j/jalview_dmg_background.png and b/utils/install4j/jalview_dmg_background.png differ