This documentation is for the old version. Go to the latest Graphics Mill docs

Windows Controls Samples

This section contains information about Graphics Mill for .NET code samples of Windows applications.

Source codes of all samples can be found at the Aurigma Forums.

Main Demo

This is a main code example demonstrating a lot of features of Graphics Mill for .NET in action. This sample is implemented as an image editing application. With it, you can load files, apply different effects, convert bitmaps to different pixel formats, save files in various file formats, and so on. It contains dialogs for all effects (including Photoshop-like dialog for curves, levels, and a histogram). You can freely reuse these dialogs in your applications.

This sample does not contain all features of Graphics Mill for .NET. This is an attempt to create a "real-life" application rather than "all-features-in-one" monster. That is why some features of Graphics Mill for .NET are not demonstrated in it, in particular, color management, metadata handling, drawing, and so on. See other code samples for demonstrations of this functionality.

Required add-ons URL to download
This sample does not require any add-ons http://forums.aurigma.com/yaf_postst3030_Main-Demo.aspx

Color Management Demo

This code example demonstrates how to use color management features of Graphics Mill for .NET. In this application the user can load an image, adjust its color profiles, set the transformation intent, and convert the image to another color space. The converted image is displayed on the screen, so the user can see how different color management parameters influence the result. You can read more about color management in the Basic Concepts of Color Management topic.

Required add-ons URL to download
This sample does not require any add-ons http://forums.aurigma.com/yaf_postst3031_Color-Management-Demo.aspx

MetaData Demo

This demo application is intended to demonstrate how to work with metadata using Graphics Mill for .NET. It allows loading images that contain such metadata as EXIF, IPTC, and XMP and displaying this additional information. Also, it lets the user modify or add fields of these types. You can read more about metadata processing in the Working with Metadata section.

Required add-ons URL to download
This sample does not require any add-ons http://forums.aurigma.com/yaf_postst3032_MetaData-Demo.aspx

TIFF Viewer Demo

This is a demo application which represents a simple multipage TIFF viewer. Using this application the user can open multipage TIFF documents, for example, faxes. It also provides such viewer functionality as navigation through pages and page zoom.

There is also a Web version of this demo. You can read about it in the Web Controls Samples topic.

Required add-ons URL to download
This sample does not require any add-ons http://forums.aurigma.com/yaf_postst3033_TIFF-Viewer-Demo.aspx

Multiframe TIFF Demo

This application demonstrates how to use thumbnail list view control to build a user interface for creating multipage TIFF files. That allows the user to see in action many features of the thumbnail list view control. You can read more about working with this control in the Using Thumbnail List View Control section.

Required add-ons URL to download
This sample does not require any add-ons http://forums.aurigma.com/yaf_postst3034_Multiframe-TIFF-Demo.aspx

Printing Demo

This demo application shows printing features of Graphics Mill for .NET. It can be used as a base if you need to create an application that should print multiple photos. The sample demonstrates how to use a number of printing features, in particular: automatic image layout, physical size handling, print preview, and so on.

Required add-ons URL to download
This sample does not require any add-ons http://forums.aurigma.com/yaf_postst3035_Printing-Demo.aspx

Advanced PSD Viewer Demo

This is a demonstration of Advanced PSD Add-on for Graphics Mill features. This application is a PSD file browser. It displays each PSD layer and its properties, such as dimensions (for raster layers), font settings (for text layers), and so on. It gives the user an idea of Advanced PSD Add-on functionality. You can read more about Advanced PSD Add-on in the Advanced PSD Add-on section.

Required add-ons URL to download
Advanced PSD Add-on http://forums.aurigma.com/yaf_postst3036_Advanced-PSD-Viewer-Demo.aspx

AVI Viewer Demo

This application demonstrates how AVI Processor Add-on for Graphics Mill can be used to create an application that can iterate through all frame and display them on the screen. It is a good quick start sample for those who want to see how the AVI reader should be used. You can read more about AVI Processor Add-on in the AVI Processor Add-on section.

Required add-ons URL to download
AVI Processor Add-on http://forums.aurigma.com/yaf_postst3037_AVI-Viewer-Demo.aspx

AVI Watermark Demo

Yet another demo application of AVI Processor Add-on. It show how to work with the AVI writer to put a watermark on AVI files. You can use an image, text, or timer, or all of them together as a watermark. You can read more about AVI Processor Add-on in the AVI Processor Add-on section.

Required add-ons URL to download
AVI Processor Add-on http://forums.aurigma.com/yaf_postst3038_AVI-Watermark-Demo.aspx

Red Eye Removal Demo

This is a demonstration of usage of Red-Eye Removal. It shows how this add-on works in a semiautomatic mode as well as in a manual one. The application is designed as a wizard. You can read more about Red-Eye Removal in the Red-Eye Removal section.

There is also a Web version of this demo. You can read about it in the Web Controls Samples topic.

Required add-ons URL to download
This sample does not require any add-ons http://forums.aurigma.com/yaf_postst3039_Red-Eye-Removal-Demo.aspx

AnimatedGif Demo

This sample shows how to use new features of Graphics Mill for .NET to process animated GIF files. This demonstrates how to parse an animated GIF frame by frame, resize animated GIF, and optimize animated GIF when saving it. You can find more information how to work with animated GIF files in the Loading and Saving Animated GIFs topic.

Required add-ons URL to download
This sample does not require any add-ons http://forums.aurigma.com/yaf_postst3040_AnimatedGif-Demo.aspx

Custom Wbmp Codec Demo

This sample illustrates how to create a custom Graphics Mill for .NET codec that later can be used as add-on for Graphics Mill for .NET. As an example, this demo contains a custom implementation of WBMP format reader and writer. Also this application contains a simple viewer for opening and saving WBMP files which uses this custom codec.

Required add-ons URL to download
This sample does not require any add-ons http://forums.aurigma.com/yaf_postst3041_Custom-Wbmp-Codec-Demo.aspx

LosslessJpeg Demo

This application demonstrates how to apply lossless transformation to JPEG files. Though it allows applying only the "mosaic" transform, it gives the user a general idea on how to perform such image processing. You can read more about lossless JPEG transforms in the Applying Lossless JPEG Transforms topic.

Required add-ons URL to download
This sample does not require any add-ons http://forums.aurigma.com/yaf_postst3042_LosslessJpeg-Demo.aspx

MediaData Demo

This application demonstrates features of Media Processor Add-on for Graphics Mill. Unlike AVI Processor Add-on, this add-on allows the user to read frames of video files not only in the AVI format, but also in many others. The application lets the user open files, read stored metadata, if any are present, display individual frames based on the time or frame index and create the frame index for non-indexed ASF files. You can read more about Media Processor Add-on in the Media Processor Add-on section.

Required add-ons URL to download
Media Processor Add-on http://forums.aurigma.com/yaf_postst3043_MediaData-Demo.aspx

Multilayer Image Editor Demo

This sample demonstrates a new Graphics Mill for .NET module - Vector Objects. This module is a part of Windows Forms controls of Graphics Mill intended to work with vector objects. Using this application the user can easily create layered vector drawings, add to them bitmaps and text. Such drawings can later be exported to different image formats. You can read more about this new feature in the How to Use Vector Objects topic.

Required add-ons URL to download
This sample does not require any add-ons http://forums.aurigma.com/yaf_postst3044_Multilayer-Image-Editor-Demo.aspx

Real Estate Digest Demo

This application demonstrates how to use Advanced PSD Add-on to create real estate advertising booklets. It stores realty details in the internal database and uses this data to create booklets. The user can preview a booklet using the BitmapViewer or save it with the specified dpi as well as change some text or image information and choose a template. This application provides a read-only access to real estate data, it means that all the modified information is used to create the current booklet only and will not affect the database.

Required add-ons URL to download
Advanced PSD Add-on http://forums.aurigma.com/yaf_postsm9066_Real-Estate-Digest-Demo.aspx

See Also

Manual