Recent

Author Topic: [SOLVED] Lazarus Image Editor  (Read 1527 times)

simone

  • Hero Member
  • *****
  • Posts: 573
[SOLVED] Lazarus Image Editor
« on: June 29, 2019, 07:55:52 pm »
I need to design some icons and I tried to use 'Lazarus Image Editor'. I installed required components specified in the wiki (https://wiki.freepascal.org/Lazarus_Image_Editor) but compilation fails… Has someone recently used this software? Thanks in advance.
« Last Edit: June 30, 2019, 12:13:56 am by simone »
Microsoft Windows 10 64 bit - Lazarus 3.0 FPC 3.2.2 x86_64-win64-win32/win64

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9857
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Image Editor
« Reply #1 on: June 29, 2019, 08:08:37 pm »
Haven't used that one. Also don't know what it supports.

But keep in mind that the LCL now has DPI support, and imagelists can take the icons in more than one resolution. So you want to design your icons with that in mind.

A process I have done, is to draw them as svg. For simple icons "Libre office Draw" can do that, but there are other svg editors. "Draw" does not deliver the best results when exporting to png (or other normal image format). So I used GIMP for that part.

simone

  • Hero Member
  • *****
  • Posts: 573
Re: Lazarus Image Editor
« Reply #2 on: June 29, 2019, 09:00:23 pm »
Thanks for suggestions Martin. Altough obsolete, this a nice program and has pedagogical value for who want to learn how to build GUI desktop application with Lazarus. So I hope someone will be able to fix the problem I encountered:

DLBitmap.pas(286,60) Error: Identifier not found "pcfDelphiBitmap"

Unfortunately I'm not able to do that… May be it depends on external component (LazRGBGraphics?) that has been updated after the last version of program.     
Microsoft Windows 10 64 bit - Lazarus 3.0 FPC 3.2.2 x86_64-win64-win32/win64

wp

  • Hero Member
  • *****
  • Posts: 11912
Re: Lazarus Image Editor
« Reply #3 on: June 29, 2019, 10:12:01 pm »
Just replace the "pcfDelphiBitmap" by "pcfBitmap" and the program will compile.

I updated the svn version on CCR.

simone

  • Hero Member
  • *****
  • Posts: 573
Re: Lazarus Image Editor
« Reply #4 on: June 30, 2019, 12:13:16 am »
You are very kind. Thanks for the fix.
Microsoft Windows 10 64 bit - Lazarus 3.0 FPC 3.2.2 x86_64-win64-win32/win64

 

TinyPortal © 2005-2018