[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 171
  • Last Modified:

save as GIF

I need to save my BMP to GIF Format
0
garizpe
Asked:
garizpe
1 Solution
 
intheCommented:
Hi,
youll have to use TGifImage form here:
http://www.melander.dk/delphi/gifimage/

example:

procedure ConvertBMP2GIF;
var
  bmp: TBitmap;
begin
  with TGifImage.Create do
  try
    bmp := TBitmap.Create;
    try
      bmp.LoadFromFile('MyBitmap.BMP');
      Assign(bmp);
    finally
      bmp.Free;
    end;
    SaveToFile('MyBitmap.GIF);
  finally
    Free;
  end;
end;


Regards Barry
0
 
HamidHossainCommented:

Lestining ....
0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now