HISE Logo Forum
    • Categories
    • Register
    • Login

    Standalone app icon

    Scheduled Pinned Locked Moved General Questions
    11 Posts 6 Posters 1.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • staiffS
      staiff
      last edited by

      hello !
      said in the title:
      how to create a standalone app icon ?
      when you create SA, the .exe file as a "common/standard" icon.

      How to personalize it ?

      thanks

      Excuse me i'm French.

      1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart
        last edited by

        Just put a square PNG image called exactly Icon.png in the Image directory and it will use this as icon. The resolution doesn't matter, but I recommend using at least 256x256.

        A 1 Reply Last reply Reply Quote 1
        • staiffS
          staiff
          last edited by staiff

          hello !
          thanks !

          1- i didn't think that was so simple !
          2 - yes, all icons are arlready 256px max (most of time it's 128px)

          EDIT: tried, tested and .... work perfectly ! that rocks !
          Christoph i tell you for the last time now !!!! stop ruling the world with HISE please !!! ;)

          Excuse me i'm French.

          1 Reply Last reply Reply Quote 1
          • A
            andioak @Christoph Hart
            last edited by

            @Christoph-Hart said in Standalone app icon:

            Just put a square PNG image called exactly Icon.png in the Image directory and it will use this as icon. The resolution doesn't matter, but I recommend using at least 256x256.

            I know this is late, but still so relevant. Has there been added any more support for OS-specific app icon image types? For example, on macOS you would use a .icns made in multiple sizes using the terminal app "iconutil". Nothing comes up on a search in the docs.

            d.healeyD 1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey @andioak
              last edited by

              @andioak Following the above advice works on MacOS too.

              Libre Wave - Freedom respecting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

              A 1 Reply Last reply Reply Quote 0
              • A
                andioak @d.healey
                last edited by andioak

                @d-healey Okay, but the icons should be a .icns file, a multi-png icon file with all resolutions. Made with this script: (iconutil)

                # shell script for creating an icon for an application from a set of input images
                
                input_filepath="icon_name_1024_x_1024.png"
                output_iconset_name="outputicon.iconset"
                mkdir $output_iconset_name
                
                sips -z 16 16     $input_filepath --out "${output_iconset_name}/icon_16x16.png"
                sips -z 32 32     $input_filepath --out "${output_iconset_name}/icon_16x16@2x.png"
                sips -z 32 32     $input_filepath --out "${output_iconset_name}/icon_32x32.png"
                sips -z 64 64     $input_filepath --out "${output_iconset_name}/icon_32x32@2x.png"
                sips -z 128 128   $input_filepath --out "${output_iconset_name}/icon_128x128.png"
                sips -z 256 256   $input_filepath --out "${output_iconset_name}/icon_128x128@2x.png"
                sips -z 256 256   $input_filepath --out "${output_iconset_name}/icon_256x256.png"
                sips -z 512 512   $input_filepath --out "${output_iconset_name}/icon_256x256@2x.png"
                sips -z 512 512   $input_filepath --out "${output_iconset_name}/icon_512x512.png"
                
                iconutil -c icns $output_iconset_name
                
                rm -R $output_iconset_name
                

                I mean if one is to be a good boy and future-proof the icons on mac with all the resolutions (retina, 4k, 5k, 8k etc)

                So can I just use a icon.icns instead?
                @Christoph-Hart

                A large png file is sometimes not that pretty once it is downsized, can be blurry.

                ustkU LindonL 2 Replies Last reply Reply Quote 1
                • ustkU
                  ustk @andioak
                  last edited by

                  @andioak It is coded directly asIcon.png at different places in Hise...

                  Can't help pressing F5 in the forum...

                  1 Reply Last reply Reply Quote 1
                  • LindonL
                    Lindon @andioak
                    last edited by

                    @andioak -- no don't do this. Inserting your own icons in a mac build will cause it to fail to notarize (well that's my experience anyway,,).

                    Can anyone confirm that using the "Icon.png method" produces a stand alone that will pass notarization?

                    HISE Development for hire.
                    www.channelrobot.com

                    d.healeyD A 2 Replies Last reply Reply Quote 1
                    • Christoph HartC
                      Christoph Hart
                      last edited by

                      I will let you know in an hour :)

                      1 Reply Last reply Reply Quote 1
                      • d.healeyD
                        d.healey @Lindon
                        last edited by

                        @Lindon Yes it does. I did this in a video last week (I think).

                        Libre Wave - Freedom respecting instruments and effects
                        My Patreon - HISE tutorials
                        YouTube Channel - Public HISE tutorials

                        1 Reply Last reply Reply Quote 1
                        • A
                          andioak @Lindon
                          last edited by

                          @Lindon said in Standalone app icon:

                          @andioak -- no don't do this. Inserting your own icons in a mac build will cause it to fail to notarize (well that's my experience anyway,,).

                          Aha, thanks for that caveat! :) So if i´m deadly serious about rez-snaz I gotta go into the hise source and add some if:s. Not sure that the amazing feeling seeing my logo in 8k instead of 4k is worth that atm. But one fine day, it shall shine.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post

                          24

                          Online

                          1.7k

                          Users

                          11.8k

                          Topics

                          102.5k

                          Posts