FMX サポート対象のイメージ形式[JAPAN]

Posted by on in Programming

Firemonkey サポート対象のイメージ形式

TBitmapCodecManager は、異なるプラットフォームに対する、TBitmap エンコーディングおよびデコード コーデックへのサポートを提供します。
TBitmapCodecManager は、TBitmap の保存や読み込み時のフィルタの作成に使用されます。

Windows OS X iOS Android
BMP BMP    
GIF GIF   GIF
JPEG(.jpeg、.jpg) JPG,JP2,JPEG,JP2 JPEG,JPG JPEG,JPG
HDP      
ICO      
  ICNS    
PNG PNG PNG PNG
TIFF(.tiff、.tif), TIF    
  TGA    
Windows 上で Direct2D での追加形式:JPEG XR(.hdp、.jxr、.wdp)      
Windows 上で GDI+ での追加形式:WMF      

http://docwiki.embarcadero.com/Libraries/Tokyo/ja/FMX.Graphics.TBitmapCodecManager
http://docwiki.embarcadero.com/Libraries/Tokyo/ja/FMX.Graphics.TCustomBitmapCodec

例外 EBitmapSavingFailed

Project * raised exception class EBitmapSavingFailed with message 'Saving bitmap failed.'.

この場合上記の表のフォーマットか確認できます。



About
Gold User, No rank,
Delphi / C++Builder blogger

Comments

Check out more tips and tricks in this development video: