From: Benedict Soares (Staff) Date: Thu, 5 Jan 2023 00:19:00 +0000 (+0000) Subject: JAL-4111 fixed DMG background image for generic Develop-X.XX app name, and new DS_Store X-Git-Tag: Release_2_11_3_0~28 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=cc4d6da7c9a98bba8732cd7a2b7c000d82ede809;p=jalview.git JAL-4111 fixed DMG background image for generic Develop-X.XX app name, and new DS_Store --- diff --git a/doc/README-DMG_background_image_creation.md b/doc/README-DMG_background_image_creation.md index 0872e4c..8b27281 100644 --- a/doc/README-DMG_background_image_creation.md +++ b/doc/README-DMG_background_image_creation.md @@ -2,13 +2,13 @@ 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 `README-DMG_creation.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 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.svg` file which can be edited in Inkscape. It is exported as `jalview_dmg_background.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 +convert -units PixelsPerInch jalview_dmg_background.png -density 72 jalview_dmg_background-72dpi.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. +The final image should be saved in `utils/channel//images/` as `jalview_dmg_background-72dpi.png` (which the above `convert` command will do) as this is the filename set as `install4j_dmg_background` in `utils/channel//channel_gradle.properties` file to include in the final DMG. # Alternative backgrounds diff --git a/utils/channels/develop-2.12/images/jalview_develop_dmg_DS_Store b/utils/channels/develop-2.12/images/jalview_develop_dmg_DS_Store index 4d126bf..94f871b 100644 Binary files a/utils/channels/develop-2.12/images/jalview_develop_dmg_DS_Store and b/utils/channels/develop-2.12/images/jalview_develop_dmg_DS_Store differ diff --git a/utils/channels/develop-2.12/images/jalview_develop_dmg_background-72dpi.png b/utils/channels/develop-2.12/images/jalview_develop_dmg_background-72dpi.png index de7f6df..3586676 100644 Binary files a/utils/channels/develop-2.12/images/jalview_develop_dmg_background-72dpi.png and b/utils/channels/develop-2.12/images/jalview_develop_dmg_background-72dpi.png differ diff --git a/utils/channels/develop-2.12/images/jalview_develop_dmg_background.png b/utils/channels/develop-2.12/images/jalview_develop_dmg_background.png index aa8e3c5..5a874d3 100644 Binary files a/utils/channels/develop-2.12/images/jalview_develop_dmg_background.png and b/utils/channels/develop-2.12/images/jalview_develop_dmg_background.png differ diff --git a/utils/channels/develop-2.12/images/jalview_develop_dmg_background.svg b/utils/channels/develop-2.12/images/jalview_develop_dmg_background.svg index 24ddbb4..6a0cd9d 100644 --- a/utils/channels/develop-2.12/images/jalview_develop_dmg_background.svg +++ b/utils/channels/develop-2.12/images/jalview_develop_dmg_background.svg @@ -1,13 +1,5 @@ image/svg+xml @@ -1309,7 +1313,11 @@ + id="text10259">Develop