Board index » delphi » image format conversion

image format conversion

How can I convert different image formats to BMP files ?
Especially, from ICO or EMF to BMP.

Is there a simple way using the Delphi Enterprise edition ? Or, a third
party component ?

Thanks for any helpful suggestions.

 

Re:image format conversion


Ask this to Delphi Graphics NG .
Quote
pschrader <pschra...@bieber-gruppe.de> wrote in message 3bfa78ab_2@dnews...
> How can I convert different image formats to BMP files ?
> Especially, from ICO or EMF to BMP.

> Is there a simple way using the Delphi Enterprise edition ? Or, a third
> party component ?

> Thanks for any helpful suggestions.

Re:image format conversion


Quote
"pschrader" <pschra...@bieber-gruppe.de> wrote in message news:3bfa78ab_2@dnews...
> How can I convert different image formats to BMP files ?
> Especially, from ICO or EMF to BMP.

Try these pages:
http://homepages.borland.com/efg2lab/Library/Delphi/Graphics/FileForm...
http://homepages.borland.com/efg2lab/Library/Delphi/Graphics/BMP.htm

--
efg -- Earl F. Glynn, Overland Park, KS  USA
efg's Computer Lab Mirror:  http://homepages.borland.com/efg2lab

Re:image format conversion


The "easiest" way to convert ICO to BMP is to use an ImageList like this:

  FIcon := TIcon.Create;
  FBmp := TBitmap.Create;
  try
    // get FIcon from somewhere:
    FIcon.LoadFromFile('icon.ico');
    Imagelist1.GetBitmap(ImageList1.AddIcon(FIcon),FBmp);
    // save FBmp to somewhere:
    FBmp.SaveToFile('bitmap.bmp');
  finally
    FIcon.Free;
    FBmp.Free;
  end;

Regards, Peter

"pschrader" <pschra...@bieber-gruppe.de> skrev i meddelandet
news:3bfa78ab_2@dnews...

Quote
> How can I convert different image formats to BMP files ?
> Especially, from ICO or EMF to BMP.

> Is there a simple way using the Delphi Enterprise edition ? Or, a third
> party component ?

> Thanks for any helpful suggestions.

Other Threads