Recent

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

simone

  • Sr. Member
  • ****
  • Posts: 260
[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 »

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 5771
    • 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

  • Sr. Member
  • ****
  • Posts: 260
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.     

wp

  • Hero Member
  • *****
  • Posts: 6459
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.
Lazarus trunk / fpc 3.0.4 / all 32-bit on Win-10

simone

  • Sr. Member
  • ****
  • Posts: 260
Re: Lazarus Image Editor
« Reply #4 on: June 30, 2019, 12:13:16 am »
You are very kind. Thanks for the fix.