Skip to content

Latest commit

 

History

27 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

dispImage.exe

English

Overview

This is a test program for loading, editing, and saving images using both the Image class and the (C++/MFC) CImage class.

Features

  • 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.

Supported formats

  • jpg

  • bmp

  • png

  • tif

Development environment

  • Windows 11

  • Visual Studio 2022 (VC++ / MFC)

Class structure

  • 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

Source Code

If you are interested in the source code, you can get it on BOOTH.

Download

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 からダウンロードできます:

About

C++ / MFC image viewer tool

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors