發表文章

目前顯示的是 9月, 2020的文章

BmpCvtST 以command line執行轉圖流程

圖片
Command Table picture轉存bitmap指令: Bmpcvtst.exe <FILE NAME> – convertintobw –saveas<FILE NAME>,<TYPE>,[<FORMAT>],[<NOPALETTE>] -exit Example: 1. Conditions: bw, 1bpp, c-format Bmpcvtst.exe " apple_294x362.jpg " –convertintobw –saveas " apple_294x362_bw_1bpp " ,1,1 -exit   2. Conditions: bw, 8bpp, c-format Bmpcvtst.exe " apple_294x362.jpg " –convertintobw –saveas " apple_294x362_bw_8bpp " ,1,5 –exit   3. Conditions: 4-gray, 2bpp, c-format Bmpcvtst.exe " apple_294x362.jpg " –convertintogray4 –saveas " apple_294x362_gray4_2bpp " ,1,2 –exit   4. Conditions: 4-gray, 1bpp, c-format Bmpcvtst.exe " apple_294x362.jpg " –convertintogray4 –saveas " apple_294x362_gray4_1bpp " ,1,1 –exit 此為錯誤條件 , 4-gray 每個 pixel 最低要 2-bits, 無法以 1-bit 實現 4-Gray 在目錄下會出現 Error Log 說明 ”FORMAT does not match image.” <FORMAT> 參數可忽略不設 , 會自動以最低位元數儲存 5. Conditions: 4-gray, 2bpp,

調整win10預設英文輸入

圖片
控制台 -> 時間與語言 -> 語言 -> 慣用語言 點選    中文 ( 台灣 ) 進入 選項 點選 微軟注音 進入 選項 調整 預設輸入模式 為 英數字元 Env : Win10 1909

[VB6]Mid函數start起始值

圖片
 Mid為擷取指定位置&長度的部分字串, 其起始位置start param.起始值為1, 非0開始 start param.=0, failure “Run-Time Error '5': Invalid Procedure Call or Argument” start param.=1, successful ref