Tag Archives: image

Save several images into Access in C#

The example Save images in an Access database in C# includes an Access database. Unfortunately if you save several images into the database and then open the database in Access, Access removes the images. It just doesn’t seem to understand … Continue reading

Posted in database, graphics, image processing, Office | Tagged , , , , , , , , , , , , , , , , , , | 1 Comment

Load images from an Access database in C#

The post Save images in an Access database in C# explains how to save images in an Access database. This post explains how to load images from an Access display them. Like previous examples, this program uses a SQL statement … Continue reading

Posted in database, graphics, image processing, Office | Tagged , , , , , , , , , , , , , , , , , | 2 Comments

Save images in an Access database in C#

This example shows how you can save images in an Access database. The example Use filenames stored in a database to display images in C# shows how to display images by saving the image file names in a database and … Continue reading

Posted in database, graphics, image processing, Office | Tagged , , , , , , , , , , , , , , , , , | 4 Comments

Use filenames stored in a database to display images in C#

The reason so many people ask how to store and retrieve images in a database is that it’s hard. You need to use a special data type such as the BLOB (Binary Large Object) or MEMO data type depending on … Continue reading

Posted in database, graphics, image processing, user interface | Tagged , , , , , , , , , , , , , , | 2 Comments

Set the pixels in a WPF bitmap in C#

This example shows how you can manipulate the pixels in a WPF bitmap. One of the things I like least about WPF is the way Microsoft threw away everything we had learned over years of working with Visual Studio. Yes, … Continue reading

Posted in graphics, image processing, wpf, XAML | Tagged , , , , , , , , , , , , , | 4 Comments

Use the Bitmap class’s RotateFlip method to easily flip and rotate an image in C#

The Bitmap class’s RotateFlip method makes it easy to rotate an image by a multiple of 90 degrees and flip it vertically or horizontally. This example wraps the call to RotateFlip in the following ModifiedBitmap method. It makes a copy … Continue reading

Posted in graphics, image processing | Tagged , , , , , , , , , , , , , , | Leave a comment

Use the Bitmap32 class to manipulate image pixels very quickly in C#

The following posts explain how you can build a Bitmap24 class to manipulate the pixels in 24-bit images very quickly. Use the Bitmap24 class to manipulate image pixels very quickly in C# Add GetPixel and SetPixel methods to the Bitmap24 … Continue reading

Posted in graphics, image processing | Tagged , , , , , , , , , , , , | 5 Comments

Add GetPixel and SetPixel methods to the Bitmap24 class in C#

This example adds GetPixel and SetPixel methods to the Bitmap24 class described in the post Use the Bitmap24 class to manipulate image pixels very quickly in C#. Unfortunately that class only allows you manipulate pixel values in a one-dimensional byte … Continue reading

Posted in graphics, image processing | Tagged , , , , , , , , , , , , | 1 Comment

Use the Bitmap24 class to manipulate image pixels very quickly in C#

The Bitmap class’s GetPixel and SetPixel methods let you easily manipulate image pixels. They’re easy to use, but they’re also relatively slow. This program inverts the pixels in an image several times. When you click the No Lock Bits button, … Continue reading

Posted in graphics, image processing | Tagged , , , , , , , , , , , , , | 5 Comments

Load images without locking their files in C#

This example shows how to load images into a C# program without locking their files. When you click the Load Normally button, the program uses the following code to display an image file. // Load the image normally. private void … Continue reading

Posted in files, graphics | Tagged , , , , , , , , , , , , , , | 6 Comments