Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-other / 2009-12

Lazarus LRS to Delphi DCR

6 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

Hi!

I'm creating a set of components for lazarus/delphi. Now I'm creating the icons for the component palette. So I drawed it on inkscape, created a shell script to convert from svg => png => xpm => bmp and from these xpm files I create a lazarus resource (LRS). I'm USING LINUX.

But now, I don't know how to create delphi DCR from LRS (or from BMP files) without go to Windows.

Somebody know how to do this, or it is "impossible"?

Regards,

Fabio
PascalSCADA Project Admin

Reply by email

Vincent Snijders
to Unknown author
Show quoted text 6 lines
Hi! I'm creating a set of components for lazarus/delphi. Now I'm creating the icons for the component palette. So I drawed it on inkscape, created a shell script to convert from svg => png => xpm => bmp and from these xpm files I create a lazarus resource (LRS).

For lrs, you can use png too.

Vincent

Reply by email

Mattias Gärtner
to Unknown author: Hi! I'm creating a set of components for lazarus/delphi. Now I'm creating the icons for…

Zitat von "" :

Show quoted text 7 lines
Hi! I'm creating a set of components for lazarus/delphi. Now I'm creating the icons for the component palette. So I drawed it on inkscape, created a shell script to convert from svg => png => xpm => bmp and from these xpm files I create a lazarus resource (LRS). I'm USING LINUX.

As Vincent wrote: you can use png directly.

Maybe you found some old docs about the obsolete need of xpm/bmp files. Can you tell me where you found that so I can update it?

But now, I don't know how to create delphi DCR from LRS (or from BMP files) without go to Windows. Somebody know how to do this, or it is "impossible"?

I don't know.

Mattias

Reply by email

Unknown author
to Mattias Gärtner

If somebody has the same problem (keep components and icons for Lazarus and Delphi) I created a small tool based on fcl-res package of FPC. Now I create a Delphi RES file without go to Windows.

http://pascalscada.blogspot.com/2009/12/icones-da-palheta-de-componentes-icons.html http://sourceforge.net/projects/pascalscada/ to get it from SVN.

Now I'm using PNG on Lazarus. :D

Regards,

Fabio

2009/12/18 Mattias Gärtner

Show quoted text 36 lines
Zitat von "" : Hi! > > I'm creating a set of components for lazarus/delphi. > Now I'm creating the icons for the component palette. So I drawed it on > inkscape, created a shell script to convert from svg => png => xpm => bmp > and from these xpm files I create a lazarus resource (LRS). I'm USING > LINUX. > As Vincent wrote: you can use png directly. Maybe you found some old docs about the obsolete need of xpm/bmp files. Can you tell me where you found that so I can update it? But now, I don't know how to create delphi DCR from LRS (or from BMP > files) > without go to Windows. > > Somebody know how to do this, or it is "impossible"? > I don't know. Mattias _______________________________________________ fpc-other maillist - http://lists.freepascal.org/mailman/listinfo/fpc-other

Reply by email

Marco van de Voort
to Unknown author: Hi! I'm creating a set of components for lazarus/delphi. Now I'm creating the icons for…
Show quoted text 8 lines
I'm creating a set of components for lazarus/delphi. Now I'm creating the icons for the component palette. So I drawed it on inkscape, created a shell script to convert from svg => png => xpm => bmp and from these xpm files I create a lazarus resource (LRS). I'm USING LINUX. But now, I don't know how to create delphi DCR from LRS (or from BMP files) without go to Windows.

Note that like many Delphi binary formats, it might be version specific.

Reply by email

Unknown author
to Marco van de Voort

Yes, it have, but .RES isn't a Delphi file, but a Visual C++ file, adopted by Delphi. Their format isn't version specific, and that I could test, it works with Delphi 7, 2006 and 2007. I'll test it with D2010 soon as possible.

Regards,

Fabio

2009/12/30 Marco van de Voort

Show quoted text 16 lines
On Fri, Dec 18, 2009 at 09:29:13AM -0200, wrote: > I'm creating a set of components for lazarus/delphi. > Now I'm creating the icons for the component palette. So I drawed it on > inkscape, created a shell script to convert from svg => png => xpm => bmp > and from these xpm files I create a lazarus resource (LRS). I'm USING > LINUX. > > But now, I don't know how to create delphi DCR from LRS (or from BMP files) > without go to Windows. Note that like many Delphi binary formats, it might be version specific. _______________________________________________ fpc-other maillist - http://lists.freepascal.org/mailman/listinfo/fpc-other

Reply by email