Recent

Author Topic: TgifImage port from delphi 2007 to lazarus sucess,but there are some problem?  (Read 5491 times)

dorry

  • New Member
  • *
  • Posts: 12
hello

I had ported d2007 Gifimg.pas to lazarus sucess,only modify some exception,now run ok,
but when i use image compentent display gifframe only black image?
source code see attachment. can someone help me to find problem?

thanks
best regards
dorry.

« Last Edit: October 19, 2013, 01:37:21 pm by dorry »

howardpc

  • Hero Member
  • *****
  • Posts: 4144
Lazarus people will not want to touch code that is simply ripped from the VCL.
If Anders Melander wants to open source his code, that is another matter, but the VCL is not open source, and is licensed for use only by people who pay Embarcadero for the privilege.

taazz

  • Hero Member
  • *****
  • Posts: 5368
anders melander's tgifimage was open source before codegear bought and included it in to Delphi. Are you sure that this is the delphi included unit and not the open sourced one?
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

dorry

  • New Member
  • *
  • Posts: 12
you are right,but infact i only want to know this wrong reason.and study the code.
first you must have D2007 authorize,of course we have. i only change my project to lazarus.
i guess if there is not delphi ,maybe do not Lazarus?

taazz

  • Hero Member
  • *****
  • Posts: 5368
TGifImage was not part of delphi2007 you have the open source version of the component. As for the problem I didn't had time to check it.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

dorry

  • New Member
  • *
  • Posts: 12
nobody do this job yet? O:-)

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
You're the one interested so it looks like it's your job to do...
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11453
  • FPC developer.
See also http://bugs.freepascal.org/view.php?id=25476 for some discussions about TGifImage licensing.

Distributing modified versions is not allowed. So altering tgifimage to suit lazarus and then including is not allowed. At least with the information I currently see before me.
« Last Edit: July 22, 2014, 10:15:42 am by marcov »

 

TinyPortal © 2005-2018