Monthly Archives: September 2015

Use steganography to hide multiple images with different sizes in C#

The post Use steganography to hide multiple images in C# shows how you can hide four images inside another another image. Unfortunately it requires that the four hidden images be exactly half the width and half the height of the … Continue reading

Posted in algorithms, cryptography, graphics, image processing, mathematics | Tagged , , , , , , , , , , , , , , , , , | 4 Comments

Use steganography to hide multiple images in C#

The post Use steganography to hide one picture inside another in C# shows how you can hide one image inside another. This example shows one simple way to hide multiple images inside a single visible image. This program simply combines … Continue reading

Posted in algorithms, cryptography, graphics, image processing, mathematics | Tagged , , , , , , , , , , , , , , , , , | 8 Comments

Use steganography to hide Unicode message bytes in an image in C#

The post Use steganography to hide Unicode messages in an image in C# stores the bits in a message in the least significant bits of an image’s alpha, red, green, and blue color components. The post Use steganography to hide … Continue reading

Posted in algorithms, cryptography, graphics, image processing, mathematics | Tagged , , , , , , , , , , , , , , , , | Leave a comment

Use steganography to hide Unicode messages in an image in C#

The post Use steganography to hide messages in an image in C# shows one technique for hiding information inside an image. That method stores bits of information in the least significant bits of selected pixels scattered around the image. That … Continue reading

Posted in algorithms, cryptography, graphics, image processing, mathematics | Tagged , , , , , , , , , , , , , , , , | 7 Comments

Draw rainbow compound lines in WPF and C#

The post Make compound lines in WPF and C# shows how to make compound lines, lines that are striped lengthwise. Once you know how to do that, it’s easy to make rainbow compound lines. The following code shows how this … Continue reading

Posted in algorithms, drawing, graphics, mathematics | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment

Make compound lines in WPF and C#

In order to draw an outlined path, the post Draw an outlined path in WPF and C# explained how to find the left and right edge points for a path. This post explains how to use those points to draw … Continue reading

Posted in algorithms, drawing, graphics, mathematics | Tagged , , , , , , , , , , , , , , , , , , | Leave a comment

Draw an outlined path in WPF and C#

Most of the techniques needed to draw an outlined path are included in those you need to draw compound lines. For the basic idea behind compound lines and a technique that lets you draw symmetric compound lines relatively easily, see … Continue reading

Posted in algorithms, drawing, graphics, mathematics | Tagged , , , , , , , , , , , , , , , , , | 3 Comments

Survey: What should be in my upcoming graphics book?

Please let me know what should be in my upcoming graphics book by taking a brief survey. The survey only contains 17 multiple-choice questions so it should only take a minute.

Posted in Uncategorized | 6 Comments

Draw symmetric compound lines in WPF and C#

I’ve often said that WPF’s unofficial slogan should be, “Twice as flexible and only 10 times as hard.” Drawing compound lines is one of the few places where WPF isn’t twice as flexible. A compound line is one that is … Continue reading

Posted in algorithms, drawing, graphics | Tagged , , , , , , , , , , | Leave a comment

Make string extensions to URL encode and decode strings in C#

When you URL encode a string, you convert special characters into numeric sequences thath are safe to use in a URL. When you URL decode a string, you reverse the process. The following code creates extension methods for the string … Continue reading

Posted in extension methods, extensions, strings | Tagged , , , , , , , , , , | Leave a comment