Recent

Author Topic: Make own icon?  (Read 3971 times)

nfol

  • New Member
  • *
  • Posts: 17
Make own icon?
« on: November 15, 2018, 01:32:24 pm »
After having compiled a project to an exe-file, I like to design my own icon for that application. How to do that?

Handoko

  • Hero Member
  • *****
  • Posts: 5131
  • My goal: build my own game engine using Lazarus
Re: Make own icon?
« Reply #1 on: November 15, 2018, 01:36:23 pm »
First you should find an icon maker tool or you can use GIMP or Inkscape. Draw the icon and save the image. Then on your Lazarus:

After open your project > Lazarus main menu > Project > Project Options > Load Icon

RayoGlauco

  • Full Member
  • ***
  • Posts: 176
  • Beers: 1567
Re: Make own icon?
« Reply #2 on: November 15, 2018, 03:01:48 pm »
Usually, I take an .ico file that contains several icon sizes, and I open it with Gimp. In Gimp, each icon size is displayed as a different layer. Then, I replace the original images with my icon images, and I save the result.
« Last Edit: November 15, 2018, 03:07:24 pm by RayoGlauco »
To err is human, but to really mess things up, you need a computer.

nfol

  • New Member
  • *
  • Posts: 17
Re: Make own icon?
« Reply #3 on: November 17, 2018, 05:53:18 am »
Ok. Thank you!

Now I explore Gimp.

> Then, I replace the original images with my icon images, and I save the result.

Do you need to draw 6 images of different resolution, or is there a way to copy from one layer to the others?

RayoGlauco

  • Full Member
  • ***
  • Posts: 176
  • Beers: 1567
Re: Make own icon?
« Reply #4 on: November 17, 2018, 06:44:53 pm »
In Gimp each icon size is displayed in a layer. Each layer has its own size, not necessarily same size. It can be seen in the attached image: there is a 16x16 layer and a 32x32 layer. Of course, you can also create an icon with a single image/layer. Usually, I create a big image, say 256x256 and I generate 128x128, 64x64, 48x48, 32x32 and 16x16 versions with Gimp.
« Last Edit: November 17, 2018, 06:56:17 pm by RayoGlauco »
To err is human, but to really mess things up, you need a computer.

wp

  • Hero Member
  • *****
  • Posts: 11857
Re: Make own icon?
« Reply #5 on: November 17, 2018, 11:57:34 pm »
Another program is Greenfish Icon editor (free). A Lazarus program by the way (http://wiki.freepascal.org/Lazarus_Application_Gallery#Greenfish_Icon_Editor_Pro, sources on SourceForge).  Uses layers. Menu "Icon" > "Create Windows icon from images" calculates all required sizes and color depths from the current image. Each constituent image can be edited. I'd recommend to begin with a large image (128x128, or 256x256), use the automatic routine to calculate the smaller sizes and brush up the 16x16 and maybe 32x32 manually.

Download of portable version from https://portableapps.com/apps/graphics_pictures/greenfish-icon-editor-pro-portable
(Something is wrong with the authors site (http://greenfishsoftware.org/gfie.php) which is blocked by Firefox now, a scan with VirusTotal shows that it seems to be clean, though).

 

TinyPortal © 2005-2018