This is a test program for loading, editing, and saving images using both the Image class and the (C++/MFC) CImage class.
-
Mouse-based image scrolling
-
Mouse wheel zooming centered on the screen
-
Smooth freehand drawing using GDI+
-
Rotated text rendering onto images using a transparent
CRichEditCtrl -
Making areas outside the selection transparent (alpha PNG generation)
-
Color selection dialog
-
Font selection dialog
Maximum image size: **16000 × 16000 pixels**
Images larger than this are automatically resized.
-
jpg
-
bmp
-
png
-
tif
-
Windows 11
-
Visual Studio 2022 (VC++ / MFC)
-
CdispImageDlg — Main dialog
-
Cbutton — Button control
-
Cdata — Load / Edit / Save image
-
Cshape — Draw graphics
-
Ctext — Draw text
-
CcolDlg — Color selection dialog
-
CfontDlg — Font selection dialog
If you are interested in the source code, you can get it on BOOTH.
You can download the latest version from BOOTH:
Imageクラスおよび、CImageクラスによる画像のロード、編集、セーブを行うテスト・プログラムです。
- マウスによる画像スクロール、マウス・ホイールによるスクリーンセンター中心のズーム。
- Gdiplusによる、なめらかフリーハンドラインの描画。
- RichTextEditerを利用した透明テキストエディタによる画像への回転テキスト出力。
- 画像の選択範囲外を透明化(アルファpng作成)。
- カラー選択ダイアログ。
- フォント選択ダイアログ。
- などの機能をもっています。
対応画像フォーマットは、jpg / bmp / png / tif(サイズは16000×16000pixelまで)。 それ以上の画像は、自動でリサイズされます。
- Windows 11
- Visualstudio 2022 VC++ MFC
- CdispImageDlg メイン
- Cbutton ボタン
- Cdata イメージ・ロード、セーブ
- Cshape 図形描画
- Ctext テキスト描画
- CcolDlg カラー選択ダイアログ
- CfontDlg フォント選択ダイアログ
ソースコードをご希望の方は、BOOTH にて公開しています。 必要に応じてご利用ください。
最新版は BOOTH からダウンロードできます: