値用可能な画像エンコーダの数を取得します。
#Include <GDIPlus.au3>
_GDIPlus_EncodersGetCount()
パラメータ
| 成功: | 画像エンコーダの数 | 
| 失敗: | -1が返され@errorが設定されます | 
注意
なし。
関連
_GDIPlus_EncodersGetSize
こちらも参照
MSDNライブラリでGdipGetImageEncodersSizeを検索して下さい。
例
#include <GuiConstantsEx.au3>
#include <GDIPlus.au3>
#include <WindowsConstants.au3>
Opt('MustDeclareVars', 1)
Global $iMemo
_Main()
Func _Main()
    Local $hGUI, $hBitmap
    ; GUI作成
    $hGUI = GUICreate("GDI+", 600, 400)
    $iMemo = GUICtrlCreateEdit("", 2, 2, 596, 396, $WS_VSCROLL)
    GUICtrlSetFont($iMemo, 9, 400, 0, "Courier New")
    GUISetState()
    ; GDI+ライブラリを初期化
    _GDIPlus_Startup ()
    ; デコーダ/エンコーダの数を表示
    MemoWrite("Decoder count : " & _GDIPlus_DecodersGetCount());
    MemoWrite("Decoder size .: " & _GDIPlus_DecodersGetSize());
    MemoWrite("Encoder count : " & _GDIPlus_EncodersGetCount());
    MemoWrite("Encoder size .: " & _GDIPlus_EncodersGetSize());
    ; GDI+ライブラリを閉じる
    _GDIPlus_ShutDown ()
    ; ユーザーが終了するまでループ
    Do
    Until GUIGetMsg() = $GUI_EVENT_CLOSE
EndFunc   ;==>_Main
; メモコントロールに1行書き込み
Func MemoWrite($sMessage = '')
    GUICtrlSetData($iMemo, $sMessage & @CRLF, 1)
EndFunc   ;==>MemoWrite