![]() The demo program is a dialog-based MFC application. When you are done with the drawing, you click the "Save" button, specify a path name, and then the program saves your entire scribbling to disk as a 24-bit Windows bitmap file.Ī professional application skinning platform we have developed and that is freely downloadable from here uses some variation of the technique presented in this article to create and edit sophisticated icon images with full alpha-channel transparency support for use in professional application skins. It allows you to scribble free-hand shapes on a static control within a dialog box. ![]() Since the main point of this article is to show how to convert a drawing into an image file, the drawing part of the demo program is quite simple. This article describes a simple way to save a drawing to a Windows bitmap file. ![]() For example, if your program edits images by writing text over them or by allowing the user to draw shapes or objects over the images, you might find it convenient to manipulate the images and objects as a single drawing and then save the complete drawing to file. We sometimes encounter situations in which we need to save a drawing to a bitmap or other image file formats. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |